{"library":"flru","type":"library","category":null,"description":"A tiny (215B) and fast Least Recently Used (LRU) cache for JavaScript. Stable version 1.0.2, last updated in 2019. No active release cadence; essentially stable and minimal. Key differentiators: extremely small size (215B), high performance with a two-cache internal architecture that trades memory for speed, supports ESM, CJS, and UMD formats, and includes TypeScript types. Compared to alternatives like lru-cache or tiny-lru, flru is much smaller and faster for typical operations but uses 2n memory and has a simpler API.","language":"javascript","status":"active","version":"1.0.2","tags":["javascript","lru","cache","lru-cache","mru","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install flru","imports":["import flru from 'flru'","const flru = require('flru')","import type { CacheType } from 'flru'"]},{"cmd":"yarn add flru","imports":[]},{"cmd":"pnpm add flru","imports":[]}],"homepage":"https://github.com/lukeed/flru#readme","github":"https://github.com/lukeed/flru","docs":null,"changelog":null,"pypi":null,"npm":"flru","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}