
Research
Security News
The Growing Risk of Malicious Browser Extensions
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
nestjs-cache-manager-v6
Advanced tools
Nest - modern, fast, powerful node.js web framework (@cache-manager)
A progressive Node.js framework for building efficient and scalable server-side applications.
cache-manager module for Nest originally published as part of the @nestjs/common
package. This package is a drop-in replacement for the deprecated CacheModule
.
Now, this module is only support cache-manager v6.
$ npm i --save nestjs-cache-manager-v6 cache-manager
For example @keyv/redis
$ npm i --save @keyv/redis cacheable
import { CacheModule } from 'nestjs-cache-manager-v6';
import KeyvRedis from '@keyv/redis';
import { Keyv } from 'keyv';
import { CacheableMemory } from 'cacheable';
@Module({
imports: [
CacheModule.register({
// Keyv | KeyvStoreAdapter | (Keyv | KeyvStoreAdapter)[]
stores: [
new Keyv({ store: new CacheableMemory({ ttl: 60000, lruSize: 5000 }) }),
new KeyvRedis('redis://192.168.100.1:6379'),
],
}),
],
})
export class AppModule {}
more doc visit: options
because cache-manager version 6 remove cache return interface, upgraded need use import { Cache } from 'nestjs-cache-manager-v6';
replace import { Cache } from 'cache-manager'
;
FAQs
Nest - modern, fast, powerful node.js web framework (@cache-manager)
The npm package nestjs-cache-manager-v6 receives a total of 2 weekly downloads. As such, nestjs-cache-manager-v6 popularity was classified as not popular.
We found that nestjs-cache-manager-v6 demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
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.
Research
Security News
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
Research
Security News
An in-depth analysis of credential stealers, crypto drainers, cryptojackers, and clipboard hijackers abusing open source package registries to compromise Web3 development environments.
Security News
pnpm 10.12.1 introduces a global virtual store for faster installs and new options for managing dependencies with version catalogs.