{"library":"tlru","type":"library","category":null,"description":"Time-aware least recently used (TLRU) cache for Node.js, version 1.1.1. Extends native Map with proactive eviction using a single timer via fun-dispatcher, avoiding linked lists for memory efficiency. Key differentiators: supports per-item TTL, optional LRU mode with maxStoreSize, can revive items on get. Maintained by tinovyatkin. Requires Node >=18, includes TypeScript types.","language":"javascript","status":"active","version":"1.1.1","tags":["javascript","LRU","cache","expires","lru-cache","receptacle","setTimeout","time-aware","tlru","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install tlru","imports":["import { TLRU } from 'tlru'","const { TLRU } = require('tlru')","import type { TLRU } from 'tlru'"]},{"cmd":"yarn add tlru","imports":[]},{"cmd":"pnpm add tlru","imports":[]}],"homepage":"https://github.com/tinovyatkin/tlru#readme","github":"https://github.com/tinovyatkin/tlru","docs":null,"changelog":null,"pypi":null,"npm":"tlru","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}