{"library":"json-storage","type":"library","category":null,"description":"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.","language":"javascript","status":"maintenance","version":"2.1.2","tags":["javascript","dom","storage","json","w3c","localStorage","sessionStorage","globalStorage","Storage"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install json-storage","imports":["const { JsonStorage } = require('json-storage')","import { JsonStorage } from 'json-storage'","const store = JsonStorage.create(localStorage, 'ns', opts)"]},{"cmd":"yarn add json-storage","imports":[]},{"cmd":"pnpm add json-storage","imports":[]}],"homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":"json-storage","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}