{"library":"cache-base","type":"library","category":null,"description":"Basic object cache with `get`, `set`, `del`, and `has` methods for Node.js/JavaScript projects. Version 4.0.2 (latest stable, 2023-09) provides a simple in-memory cache with event emission and support for dot-notation keys. It is part of the 'base' ecosystem and is dependency-free. Unlike more complex caching solutions, it offers minimal overhead and is ideal for small-scale or temporary caching needs. The release cadence is low (sporadic updates), and it is considered stable and maintained.","language":"javascript","status":"active","version":"4.0.2","tags":["javascript","base","cache","config","data","get","has","hash","hasown"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install cache-base","imports":["const CacheBase = require('cache-base');","const cache = new CacheBase();\ncache.set('key', 'value');","const cache = new CacheBase();\ncache.on('set', (key, val) => {});"]},{"cmd":"yarn add cache-base","imports":[]},{"cmd":"pnpm add cache-base","imports":[]}],"homepage":"https://github.com/jonschlinkert/cache-base","github":"https://github.com/jonschlinkert/cache-base","docs":null,"changelog":null,"pypi":null,"npm":"cache-base","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}