A lightweight JavaScript library providing a unified API for sessionStorage and localStorage in the browser. Version 1.1.1 is the stable release. It simplifies storage operations with methods like set, get, remove, clear, and iteration support. Key differentiator: same API for both storage types with a namespace for sessionStorage.
No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Package exports a default object; CommonJS require works but ESM is recommended.
set expects separate key and value arguments, not an object.
session is a property of the default export, not a separate named export.
Shows basic usage of good-storage: setting/getting localStorage and sessionStorage, checking keys, removing, clearing, and iterating.
Breaking-change detection hasn't run for this library yet.
CVE tracking and dependency tree are planned for a later release.