{"library":"cache-ts","type":"library","category":null,"description":"cache-ts v1.0.0 is a lightweight, TypeScript-native cache implementation that extends the built-in Map class with automatic capacity control and LRU-like eviction. It provides a simple constructor taking a maximum capacity, and standard set/get operations that promote recently accessed entries. Unlike heavier caching libraries, it has zero dependencies and ships inline TypeScript declarations. Currently stable with low release cadence; suitable for small to medium caching needs where simplicity and type safety are prioritized over advanced features like TTL or persistence.","language":"javascript","status":"active","version":"1.0.0","tags":["javascript","cache","caching","typescript","utility","data structure","performance","algorithm","typescript-library"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install cache-ts","imports":["import { Cache } from 'cache-ts'","import type { Cache } from 'cache-ts'","const { Cache } = require('cache-ts')"]},{"cmd":"yarn add cache-ts","imports":[]},{"cmd":"pnpm add cache-ts","imports":[]}],"homepage":"https://github.com/orimay/cache-ts#readme","github":"https://github.com/orimay/cache-ts","docs":null,"changelog":null,"pypi":null,"npm":"cache-ts","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}