{"library":"ls-cache","type":"library","category":null,"description":"ls-cache (version 0.2.3) is a browser library that emulates memcache functions using HTML5 localStorage. It stores key-value pairs with optional expiration times in minutes, automatically evicts expiring entries when the ~5MB limit is approached, and degrades gracefully if localStorage is unavailable. Supports hierarchical buckets for independent caching scopes. Current version is 0.2.3; no recent releases. Differentiates from lscache by adding bucket hierarchies and a non-global namespace.","language":"javascript","status":"active","version":"0.2.3","tags":["javascript","localStorage"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install ls-cache","imports":["import lscache from 'ls-cache'","import lscache from 'ls-cache'","import lscache from 'ls-cache'; const bucket = lscache.createBucket('name')"]},{"cmd":"yarn add ls-cache","imports":[]},{"cmd":"pnpm add ls-cache","imports":[]}],"homepage":"https://github.com/mWater/ls-cache","github":"git://github.com/mWater/ls-cache","docs":null,"changelog":null,"pypi":null,"npm":"ls-cache","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}