{"library":"xache","type":"library","category":null,"description":"xache is a minimal auto-expiring, max-size cache for Node.js and browsers. Current stable version is 1.2.1, with infrequent releases focused on bug fixes. It provides a simple Map-like API with configurable maxSize and maxAge, removing oldest entries when the size limit is hit. Unlike more complex caches (e.g., node-cache or lru-cache), xache is extremely lightweight, has zero dependencies, and supports custom backing stores via a createMap option. It is ideal for scenarios requiring a no-frills in-memory cache with automatic expiry and size limits.","language":"javascript","status":"active","version":"1.2.1","tags":["javascript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install xache","imports":["import Xache from 'xache'","const Xache = require('xache')"]},{"cmd":"yarn add xache","imports":[]},{"cmd":"pnpm add xache","imports":[]}],"homepage":"https://github.com/mafintosh/xache","github":"https://github.com/mafintosh/xache","docs":null,"changelog":null,"pypi":null,"npm":"xache","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}