localit
JSON →A lightweight (~1kB gzipped), fully-typed wrapper around the Web Storage API (localStorage / sessionStorage) with expiration support, optional key namespacing, and change event listeners. Version 6.1.0 is the latest stable release, actively maintained on GitHub. Unlike raw storage APIs, localit handles serialization automatically, supports expiration strings like '5m' or '2h', and allows listening to key changes via an `on` method. It requires no external dependencies and ships TypeScript type definitions.
Resources
packagelocalit ↗