{"library":"ts-promise-cache","type":"library","category":null,"description":"A TypeScript promise-based loading cache that prevents thundering herds (cache stampede). Version 0.9.0 is the latest stable release. Ships with TypeScript definitions. Low release cadence. Differentiators: configurable TTL (access- or write-based), separate cache for single values, statistics, explicit set method, and customizable rejection handling with optional retry via ts-retry-promise.","language":"javascript","status":"active","version":"0.9.0","tags":["javascript","promise","cache","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install ts-promise-cache","imports":["import { PromiseCache } from 'ts-promise-cache'","import { singlePromiseCache } from 'ts-promise-cache'","import { CacheConfig } from 'ts-promise-cache'","import { Stats } from 'ts-promise-cache'"]},{"cmd":"yarn add ts-promise-cache","imports":[]},{"cmd":"pnpm add ts-promise-cache","imports":[]}],"homepage":"https://github.com/normartin/ts-promise-cache#readme","github":"https://github.com/normartin/ts-promise-cache","docs":null,"changelog":null,"pypi":null,"npm":"ts-promise-cache","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}