{"library":"lru-cache-for-clusters-as-promised","type":"library","category":null,"description":"LRU cache for Node.js cluster mode (v2.1.0). Eliminates per-worker cache duplication by hosting a single lru-cache instance in the primary process and exposing it to workers over cluster IPC. Supports atomic counters, single-flight fetches, optional L1 hot caches, and pluggable codecs. Requires Node >=22 and lru-cache ^11. Compared to standalone lru-cache, this package provides cluster-wide consistency and memory savings without external dependencies like Redis.","language":"javascript","status":"active","version":"2.1.0","tags":["javascript","lru","mru","cache","lru-cache","cluster","promise","typescript","ipc"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install lru-cache-for-clusters-as-promised","imports":["import { LRUCacheClustered } from '@0xdoublesharp/lru-cache-clustered'","import { createCache } from '@0xdoublesharp/lru-cache-clustered'","import type { CacheTypes } from '@0xdoublesharp/lru-cache-clustered'","import { wrapCodec } from '@0xdoublesharp/lru-cache-clustered'"]},{"cmd":"yarn add lru-cache-for-clusters-as-promised","imports":[]},{"cmd":"pnpm add lru-cache-for-clusters-as-promised","imports":[]}],"homepage":"https://github.com/doublesharp/lru-cache-clustered#readme","github":"https://github.com/doublesharp/lru-cache-clustered","docs":null,"changelog":null,"pypi":null,"npm":"lru-cache-for-clusters-as-promised","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}