redis-nestjs
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published

redis-nestjs

Table of contents

Installation

# via npm
npm install redis-nestjs redis

# using yarn
yarn add redis-nestjs redis

# using pnpm
pnpm add redis-nestjs redis

Usage

import { Module } from '@nestjs/common';
import { RedisModule } from 'redis-nestjs';

@Module({
  imports: [
    RedisModule.register(
      { url: 'redis://localhost:6379' },
      { id: 1, database: 1, url: 'redis://localhost:6379' },
    ),
  ],
})
export class AppModule {}

Readme

Keywords

none

Package Sidebar

Install

npm i redis-nestjs

Weekly Downloads

0

Version

0.1.2

License

MIT

Unpacked Size

23.5 kB

Total Files

20

Last publish

Collaborators

  • wolffparkinson