json-storage

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

A lightweight wrapper for W3C Storage API (localStorage, sessionStorage, globalStorage) with JSON serialization, namespace support, and optional stringify control. Version 2.1.2 provides a stable API for browser and Node.js environments. Key differentiators: simple abstraction with namespace isolation, compatibility with various DOMStorage implementations, and configurable stringification to avoid double encoding. The library has low activity and known gotchas around undefined/null handling.