{"library":"nice-cache","type":"library","category":null,"description":"An in-memory cache for Node.js with auto-refresh and auto-flush mechanisms. Version 0.0.5 (last release, no recent updates). It allows setting, getting, and subscribing to a refresh loop. Differentiates from simple caches by providing a subscription model for asynchronous refresh of expired keys. Requires Node 0.8.0. No longer actively maintained.","language":"javascript","status":"deprecated","version":"0.0.5","tags":["javascript","event","cache","pub","sub"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install nice-cache","imports":["const Cache = require('nice-cache');","const { Cache } = require('nice-cache');","const cache = new Cache({ refreshInterval: 60 });"]},{"cmd":"yarn add nice-cache","imports":[]},{"cmd":"pnpm add nice-cache","imports":[]}],"homepage":"https://github.com/opentable/nice-cache","github":"https://github.com/opentable/nice-cache","docs":null,"changelog":null,"pypi":null,"npm":"nice-cache","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}