{"library":"typescript-lru-cache","type":"library","category":null,"description":"A TypeScript-native LRU cache implementation with no runtime dependencies. Current stable version is 2.0.0. Uses a Map for internal storage, supporting any key type including reference types. Provides optional clone functionality, per-entry TTL, and eviction callbacks. Unlike other LRU caches (e.g., lru-cache), this package ships TypeScript source code and type definitions, and has a smaller API surface focusing on simplicity.","language":"javascript","status":"active","version":"2.0.0","tags":["javascript","cache","lru","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install typescript-lru-cache","imports":["const { LRUCache } = require('typescript-lru-cache')","import { LRUCache } from 'typescript-lru-cache'","import type { LRUCacheOptions } from 'typescript-lru-cache'","import type { LRUCacheSetEntryOptions } from 'typescript-lru-cache'"]},{"cmd":"yarn add typescript-lru-cache","imports":[]},{"cmd":"pnpm add typescript-lru-cache","imports":[]}],"homepage":"https://github.com/rob893/typescript-lru-cache#readme","github":"https://github.com/rob893/typescript-lru-cache","docs":null,"changelog":null,"pypi":null,"npm":"typescript-lru-cache","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}