{"library":"ttl-cache-js","type":"library","category":null,"description":"A simple TTL-based in-memory cache library for Node.js (v1.1.1, 5+ years old). Provides get/set/del/has/size/clear with optional TTL in milliseconds. Minimal dependencies; no async, no events, no size limits. Slower than `node-cache` or `lru-cache`; primarily a teaching example. Not actively maintained (last commit 2018).","language":"javascript","status":"maintenance","version":"1.1.1","tags":["javascript","cache","ttl","node"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install ttl-cache-js","imports":["const Cache = require('ttl-cache-js')","const cache = Cache()","no type exports"]},{"cmd":"yarn add ttl-cache-js","imports":[]},{"cmd":"pnpm add ttl-cache-js","imports":[]}],"homepage":"https://github.com/Thommee/ttl-cache-js#readme","github":"https://github.com/Thommee/ttl-cache-js","docs":null,"changelog":null,"pypi":null,"npm":"ttl-cache-js","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}