{"library":"simple.cache","type":"library","category":null,"description":"A minimal LRU (Least Recently Used) in-memory cache for Node.js, version 2.0.4. This package provides a straightforward caching solution with configurable maximum size (default 1000) and essential operations: set, get, has, remove, size, clear, keys, and dump. It ships with TypeScript type definitions, supports Node.js >=12, and uses the standard LRU algorithm by Dominic Tarr. Lightweight with no external dependencies.","language":"javascript","status":"active","version":"2.0.4","tags":["javascript","cache","lru","datastore","in-memory","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install simple.cache","imports":["import SimpleCache from 'simple.cache'","import SimpleCache from 'simple.cache'","const cache = SimpleCache(500)"]},{"cmd":"yarn add simple.cache","imports":[]},{"cmd":"pnpm add simple.cache","imports":[]}],"homepage":"https://github.com/joaquimserafim/simple.cache#readme","github":"https://github.com/joaquimserafim/simple.cache","docs":null,"changelog":null,"pypi":null,"npm":"simple.cache","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}