2.0.0 • Published 3 years ago

nestjs-redis-plus v2.0.0

Weekly downloads
-
License
-
Repository
github
Last release
3 years ago

nestjs-redis-plus

A NestJS module for Redis with some extra features such as:

This module uses ioredis, @socket.io/redis-emitter and @socket.io/redis-adapter to connect to Redis.

Installation

npm i nestjs-redis-plus ioredis socket.io @nestjs/websockets @nestjs/platform-socket.io @socket.io/redis-adapter @socket.io/redis-emitter

Usage

// app.module.ts
import { Module } from "@nestjs/common";
import { RedisModule } from "nestjs-redis-plus";

@Module({
  imports: [
    RedisModule.forRoot(),
    /* Multiple connections */
    RedisModule.forRoot({
      name: "Secondary",
      host: "localhost",
      port: 6379,
    }),
  ],
})
export class AppModule {}
2.0.0-14

3 years ago

2.0.0-13

3 years ago

2.0.0-12

3 years ago

2.0.0-11

3 years ago

3.0.0-beta.0

3 years ago

2.0.0-10

3 years ago

2.0.0-9

3 years ago

2.0.0-8

3 years ago

2.0.0-7

3 years ago

2.0.0-6

3 years ago

2.0.0-5

3 years ago

2.0.0-4

3 years ago

2.0.0-3

3 years ago

2.0.0-2

3 years ago

2.0.0

3 years ago

2.0.0-1

3 years ago

2.0.0-0

3 years ago

1.0.0

3 years ago