{"library":"tinycache","type":"library","category":null,"description":"TinyCache is a minimal in-memory cache library for Node.js and the browser (~1.5 KB minified). Current stable version is 1.1.2. It provides a simple key-value store with optional TTL expiration, cache size/memory size tracking, hit/miss counters, and a shared singleton cache. The API is straightforward, inspired by node-cache but smaller in footprint. Heavier alternatives include node-cache or lru-cache which offer more features like LRU eviction and persistent backends. TinyCache is ideal for lightweight caching needs where simplicity and size are priorities.","language":"javascript","status":"maintenance","version":"1.1.2","tags":["javascript","cache","in-memory","storage"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install tinycache","imports":["import TinyCache from 'tinycache'","import { shared } from 'tinycache'","const TinyCache = require('tinycache')"]},{"cmd":"yarn add tinycache","imports":[]},{"cmd":"pnpm add tinycache","imports":[]}],"homepage":"https://github.com/andyburke/tinycache#readme","github":"git://github.com/andyburke/tinycache","docs":null,"changelog":null,"pypi":null,"npm":"tinycache","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}