2.0.0 • Published 2 years ago

nestjs-redis-plus v2.0.0

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

2 years ago

2.0.0-13

2 years ago

2.0.0-12

2 years ago

2.0.0-11

2 years ago

3.0.0-beta.0

2 years ago

2.0.0-10

2 years ago

2.0.0-9

2 years ago

2.0.0-8

2 years ago

2.0.0-7

2 years ago

2.0.0-6

2 years ago

2.0.0-5

2 years ago

2.0.0-4

2 years ago

2.0.0-3

2 years ago

2.0.0-2

2 years ago

2.0.0

2 years ago

2.0.0-1

2 years ago

2.0.0-0

2 years ago

1.0.0

2 years ago