{"library":"lrucache","type":"library","category":null,"description":"LRUCache is a minimal LRU cache implementation for Node.js and browsers (v1.0.3). It uses a linked list to enforce LRU eviction; get, set, and update operations promote accessed keys. Unlike popular alternatives like lru-cache, it offers a smaller API surface with methods like staleKey() and popStale(). Active development appears stalled (last release Jul 2022, few updates). Suitable for simple caching needs where a lightweight dependency is preferred.","language":"javascript","status":"maintenance","version":"1.0.3","tags":["javascript","lru","cache","lru-cache","lrucache"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install lrucache","imports":["import LRUCache from 'lrucache'","const LRUCache = require('lrucache')","<script src='lrucache.js'></script>\nconst cache = LRUCache(100)"]},{"cmd":"yarn add lrucache","imports":[]},{"cmd":"pnpm add lrucache","imports":[]}],"homepage":"https://github.com/zensh/lrucache","github":"ssh://git@github.com/zensh/lrucache","docs":null,"changelog":null,"pypi":null,"npm":"lrucache","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}