store.js
JSON →store.js is a lightweight, cross-browser wrapper for localStorage with a simple, unified API. Version 2.1.1 is stable, actively maintained, and ships TypeScript definitions. It provides methods like set, get, remove, clear, forEach, and a Node.js shim. Unlike raw localStorage, store.js automatically serializes/deserializes values, handles errors, and has no dependencies. It supports all major browsers and Node.js v6+.