{"library":"p-async-cache","type":"library","category":null,"description":"Promise-based async cache that deduplicates concurrent lookups by caching the promise itself rather than the resolved value. Version 1.0.3 is stable with no recent updates (last published 2017). It wraps lru-cache to provide a simple API for caching async operations, including stale value support and automatic background refresh. Key differentiators: lightweight, no dependencies beyond lru-cache, and supports sync/async load functions.","language":"javascript","status":"active","version":"1.0.3","tags":["javascript","p-async-cache","promise","async","cache","lru-cache"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install p-async-cache","imports":["import PAC from 'p-async-cache'","const PAC = require('p-async-cache').default","import PAC from 'p-async-cache'"]},{"cmd":"yarn add p-async-cache","imports":[]},{"cmd":"pnpm add p-async-cache","imports":[]}],"homepage":"https://github.com/kaelzhang/p-async-cache#readme","github":"git://github.com/kaelzhang/p-async-cache","docs":null,"changelog":null,"pypi":null,"npm":"p-async-cache","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}