Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

nestjs-ioredis-module

mag123c82MIT1.0.14TypeScript support: included

Redis Module With Nest, ioredis

nest, nest-modules, nestjs, nestjs-modules, redis, ioredis

readme

NestJS ioredis Module

A Redis module for NestJS, providing a simple way to integrate Redis into your NestJS application With ioredis.

Installation

npm install nestjs-redis-module

Usage

@Module({
    imports: [
        RedisModule.forRoot({
            type: 'single',
            host: 'localhost',
            port: 6379,
        }),
    ],
})
export class AppModule {}

Although it supports cluster mode, the creator himself has not yet developed it in a cluster mode environment.

License

MIT