zb-promise-cache
JSON →A simple Node.js cache object that wraps a promise-returning function and caches the resolved value for a configurable TTL. Version 1.0.1 (latest) with no active development. Uses an LRU cache under the hood with configurable max size and max age. Useful for memoizing async operations like API calls or database queries. Minimal API with get, set, and clear methods. Limited documentation, no TypeScript types, CommonJS only.
Resources
packagezb-promise-cache ↗