ts-cacheable

JSON →
library 1.0.19 ·javascript maintenance
verified Jun 7, 2026

ts-cacheable (v1.0.19) is a TypeScript library providing decorators for caching Observable and Promise return values from class methods. It uses an in-memory cache by default and supports configurable cache busting, parameter-based cache keys, max age, sliding expiration, and async resolution. The library was originally designed for Angular (as ngx-cacheable) but is now platform-agnostic. It ships with TypeScript type definitions. Release cadence is low; last release was in 2021.