A simple in-memory cache manager for Node.js applications, version 1.2.0. It provides basic caching functionality with TTL support, suitable for small projects or simple caching needs. However, note that the package is outdated (last release from 2018) and has not been maintained, with no support for advanced features like clustering, persistence, or multi-tier caching that modern alternatives like keyv or node-cache offer. The package uses a singleton pattern and is not recommended for new projects.
npm install node-cache-managerNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates basic set, get, del, and clear operations with TTL.
Use a maintained alternative like keyv or node-cache.
Be aware that clearing the cache in one module affects all others.
Convert your TTL: e.g., 5 minutes = 300 seconds.
Use require('node-cache-manager') instead of import.Run 'npm install node-cache-manager' and ensure package.json contains it.
No dependency data recorded yet.