2.0.0 • Published 4 years ago

nestjs-redis-plus v2.0.0

Weekly downloads
-
License
-
Repository
github
Last release
4 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

4 years ago

2.0.0-13

4 years ago

2.0.0-12

4 years ago

2.0.0-11

4 years ago

3.0.0-beta.0

4 years ago

2.0.0-10

4 years ago

2.0.0-9

4 years ago

2.0.0-8

4 years ago

2.0.0-7

4 years ago

2.0.0-6

4 years ago

2.0.0-5

4 years ago

2.0.0-4

4 years ago

2.0.0-3

4 years ago

2.0.0-2

4 years ago

2.0.0

4 years ago

2.0.0-1

4 years ago

2.0.0-0

4 years ago

1.0.0

4 years ago