🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@newbility/redis

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@newbility/redis

Redis 缓存库,使用 ioredis 实现

latest
Source
npmnpm
Version
0.2.50
Version published
Weekly downloads
5
Maintainers
1
Weekly downloads
 
Created
Source

@newbility/redis

Redis 缓存库,使用 ioredis 实现

使用方式

首先应该在Module中引用 RedisModule模块

// 注入分布式缓存即可使用
@Inject(DISTRIBUTED_CACHE_INJECT_TOKEN) private readonly _disCache: IDistributedCache

Keywords

newbility

FAQs

Package last updated on 29 Dec 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts