Package Exports
- cache-manager
- cache-manager/dist/index.js
- cache-manager/package.json
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (cache-manager) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
node-cache-manager

Flexible NodeJS cache module
A cache module for nodejs that allows easy wrapping of functions in cache, tiered caches, and a consistent interface.
Features
- Easy way to wrap any function in cache.
- Tiered caches -- data gets stored in each cache and fetched from the highest. priority cache(s) first.
- Use any cache you want, as long as it has the same API.
- 100% test coverage via vitest.
Express.js Example
See the Express.js cache-manager example app to see how to use
node-cache-manager
in your applications.
Installation
pnpm install cache-manager
Store Engines
Contribute
If you would like to contribute to the project, please fork it and send us a pull request. Please add tests for any new features or bug fixes.
License
node-cache-manager is licensed under the MIT license.