nk_cache_module
v1.0.1
Published
A nestjs io-redis based cache module
Downloads
3
Readme
nk_cache_module
A nestjs io-redis based cache module
Installation
$ npm i nk_cache_module
$ pnpm i nk_cache_module
Cache module
CacheModule.register({
redisUrl: 'xxxxxxx',
}),
(or)
CacheModule.registerAsync({
imports:[ConfigModule],
inject: [ConfigService],
useFactory: async (configService) => {
redisUrl: configService.getOrThrow('xxxxxxx')'
},
)