{"library":"persistent-cache","type":"library","category":null,"description":"A simple Node.js module to persistently store/cache arbitrary data to disk with optional memory mirroring for performance. Version 1.1.2 (latest) has low release activity with no recent updates. It provides both synchronous and asynchronous APIs for get, put, delete, and keys operations. Data is stored as files on disk, and cache entries can have a time-to-live duration. It is lightweight with no dependencies, but offers basic functionality compared to more feature-rich caching libraries like node-cache or lru-cache. Suitable for simple persistent storage needs, but has known issues with path handling and race conditions on concurrent access.","language":"javascript","status":"active","version":"1.1.2","tags":["javascript","cache","persistent","data","storage","store"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install persistent-cache","imports":["import persistentCache from 'persistent-cache'","const cache = persistentCache(options)","cache.put('key', data, cb)","cache.get('key', (err, data) => {})","cache.keys(cb)"]},{"cmd":"yarn add persistent-cache","imports":[]},{"cmd":"pnpm add persistent-cache","imports":[]}],"homepage":"https://github.com/LionC/persistent-cache#readme","github":"https://github.com/LionC/persistent-cache","docs":null,"changelog":null,"pypi":null,"npm":"persistent-cache","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}