
Security News
ECMAScript 2025 Finalized with Iterator Helpers, Set Methods, RegExp.escape, and More
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
@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 3,289 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
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.
Research
North Korean threat actors linked to the Contagious Interview campaign return with 35 new malicious npm packages using a stealthy multi-stage malware loader.