{"library":"rache","type":"library","category":null,"description":"A random-eviction cache library for Node.js that imposes a global size limit across all derived sub-caches. v1.0.0 is stable, with constant-time get, set, delete, and eviction. Unlike typical per-cache limit caches, Rache shares a memory budget among multiple caches via a simple global counter, making it ideal for scenarios with many small caches. No external dependencies, no runtime dependencies. Uses CommonJS, no TypeScript types provided.","language":"javascript","status":"active","version":"1.0.0","tags":["javascript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install rache","imports":["const Rache = require('rache')","const cache = new Rache({ maxSize: 100 })","const sub = cache.sub()"]},{"cmd":"yarn add rache","imports":[]},{"cmd":"pnpm add rache","imports":[]}],"homepage":"https://github.com/holepunchto/rache#readme","github":"https://github.com/holepunchto/rache","docs":null,"changelog":null,"pypi":null,"npm":"rache","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}