storage-manager

JSON →
library 1.3.0 ·javascript
verified Jun 7, 2026

A lightweight browser-side web storage wrapper for localStorage and sessionStorage with TTL (time-to-live) support. Version 1.3.0 is the current stable release; the package sees infrequent updates. It differentiates from bare Web Storage API by adding automatic expiration of stored items, configurable in milliseconds, seconds, minutes, hours, or days, with optional automatic TTL refresh on get. Supports both LocalStorage and SessionStorage with a consistent API.