{"library":"cache-sqlite-lru-ttl","type":"library","category":null,"description":"A persistent cache library combining SQLite storage with LRU eviction and TTL expiration for Node.js and browsers (via SQL.js). The current stable version is 1.2.2, with irregular releases. Key differentiators: dual LRU+TTL eviction policy, ACID-backed persistence via SQLite, and support for both synchronous and asynchronous APIs. Unlike in-memory caches (e.g., lru-cache), data survives restarts; unlike pure SQLite caches, bounded memory is guaranteed via LRU. ESM-only, TypeScript types built-in.","language":"javascript","status":"active","version":"1.2.2","tags":["javascript","cache","sqlite","lru","ttl","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install cache-sqlite-lru-ttl","imports":["import { Cache } from 'cache-sqlite-lru-ttl'","import type { CacheOptions } from 'cache-sqlite-lru-ttl'","import Cache from 'cache-sqlite-lru-ttl'"]},{"cmd":"yarn add cache-sqlite-lru-ttl","imports":[]},{"cmd":"pnpm add cache-sqlite-lru-ttl","imports":[]}],"homepage":"https://github.com/jkelin/cache-sqlite-lru-ttl","github":"https://github.com/jkelin/cache-sqlite-lru-ttl","docs":null,"changelog":null,"pypi":null,"npm":"cache-sqlite-lru-ttl","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}