{"library":"levelup-cache","type":"library","category":null,"description":"Cache remote data in a LevelUP database with automatic refresh and TTL. Version 2.3.0 is the current stable release. Key features: returns cached value immediately regardless of age, automatically calls the getter periodically to check for new values, emits events when changes are detected, and drops items after a configurable TTL since last access. Unlike level-ttl-cache, this library refreshes values even if the key is not accessed, and emits change events. Breaking change in 2.0.0: switched from sublevel to subleveldown. Maintained by TehShrike, low activity.","language":"javascript","status":"active","version":"2.3.0","tags":["javascript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install levelup-cache","imports":["import Cache from 'levelup-cache'","const Cache = require('levelup-cache')","import Cache = require('levelup-cache')"]},{"cmd":"yarn add levelup-cache","imports":[]},{"cmd":"pnpm add levelup-cache","imports":[]}],"homepage":"https://github.com/TehShrike/levelup-cache#readme","github":"https://github.com/TehShrike/levelup-cache","docs":null,"changelog":null,"pypi":null,"npm":"levelup-cache","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}