{"library":"node-cache-engine","type":"library","category":null,"description":"High-performance caching library for Node.js and browser environments supporting LRU and LFU eviction policies with O(1) complexity for all operations. Version 2.0.3 requires Node >=18.18.2. Ships TypeScript definitions. Differentiates from other caches by supporting both LRU and LFU engines, custom hash tables via symbols, and a unified API with clearAll and toArray methods for LRU. Offers configurable maximum size. Actively maintained with regular releases.","language":"javascript","status":"active","version":"2.0.3","tags":["javascript","node","cache","high","performance","cache replacement","javascript cache","LRU cache","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install node-cache-engine","imports":["import { createCache } from 'node-cache-engine'","const cache = createCache({ engine: 'LRU' })","const cache = createCache({ engine: 'LFU' })"]},{"cmd":"yarn add node-cache-engine","imports":[]},{"cmd":"pnpm add node-cache-engine","imports":[]}],"homepage":"https://github.com/benhurdavies/node-cache-engine#readme","github":"https://github.com/benhurdavies/node-cache-engine","docs":null,"changelog":null,"pypi":null,"npm":"node-cache-engine","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}