
Security News
Vite Releases Technical Preview of Rolldown-Vite, a Rust-Based Bundler
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
@type-cacheable/node-cache-adapter
Advanced tools
Adapter for using node-cache with type-cacheable
TypeScript-based caching decorators to assist with caching (and clearing cache for) async methods. This package supports the node-cache
client.
npm install --save @type-cacheable/core @type-cacheable/node-cache-adapter
or
yarn add @type-cacheable/core @type-cacheable/node-cache-adapter
import NodeCache from 'node-cache';
import { useAdapter } from '@type-cacheable/node-cache-adapter';
const client = new NodeCache();
const clientAdapter = useAdapter(client);
Then you can rely on the @Cacheable
, @CacheUpdate
, and @CacheClear
decorators from @type-cacheable/core
. See core documentation
FAQs
Adapter for using node-cache with type-cacheable
The npm package @type-cacheable/node-cache-adapter receives a total of 4,698 weekly downloads. As such, @type-cacheable/node-cache-adapter popularity was classified as popular.
We found that @type-cacheable/node-cache-adapter 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.
Security News
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
Research
Security News
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
Research
Security News
Malicious PyPI package semantic-types steals Solana private keys via transitive dependency installs using monkey patching and blockchain exfiltration.