expire-cache

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

A simple JavaScript cache library that supports key-value storage with configurable expiration times and namespacing. Version 1.0.0 (stable, last updated 2017) is available via npm and Bower. It offers a concise API with function overloads for get/set/remove and namespace support, allowing hierarchical sub-caches with independent expiry. The library is lightweight and works in Node.js and browsers via script tag or AMD.