{"library":"mem-cache","type":"library","category":null,"description":"Simple in-memory key/value cache for Node.js with automatic timeout-based expiration. Version 0.0.5 is the current stable release. The library provides basic cache operations (set, get, remove, clean) and emits events on entry expiration. It differs from more complex caching solutions (e.g., node-cache, lru-cache) by its minimal API and lack of advanced features like LRU eviction or TTL per entry. It is lightweight but offers configurable global timeout, optional timeout renewal on access, and the ability to disable timeout entirely.","language":"javascript","status":"active","version":"0.0.5","tags":["javascript","cache"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install mem-cache","imports":["var Cache = require('mem-cache');","var cache = new Cache();","cache.set('key', value);"]},{"cmd":"yarn add mem-cache","imports":[]},{"cmd":"pnpm add mem-cache","imports":[]}],"homepage":"https://github.com/silviom/node-mem-cache","github":"git://github.com/silviom/node-mem-cache","docs":null,"changelog":null,"pypi":null,"npm":"mem-cache","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}