{"library":"least-recent","type":"library","category":null,"description":"An LRU cache that evicts least-recently-used items when full. Current version 1.0.3, stable with low release cadence. Fork of Mnemonist's LRUCache with added eviction event emission via nanoevents. Differentiator: emits 'evicted' event on eviction, unlike Mnemonist. Pure ESM package, requires Node >=14 or modern browser.","language":"javascript","status":"active","version":"1.0.3","tags":["javascript","lru","lru-cache","cache"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install least-recent","imports":["import { LRUCache } from 'least-recent'","import { LRUCache } from 'least-recent'"]},{"cmd":"yarn add least-recent","imports":[]},{"cmd":"pnpm add least-recent","imports":[]}],"homepage":"https://github.com/ceramicnetwork/least-recent","github":"https://github.com/ceramicnetwork/least-recent","docs":null,"changelog":null,"pypi":null,"npm":"least-recent","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}