nbubna/store
A better way to use localStorage and sessionStorage observed · 2026-08-28
Health v2 · maintenance only
77/100
- Activity 99
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4905
- days_rel: n/a
- days_push: 10
- n_releases_24m: 0
Adoption not part of the score
1945 stars · 114 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
store2 is a small JavaScript library that provides a friendly, feature-filled API over the browser's localStorage and sessionStorage. It adds JSON serialization, namespacing, transactions, and convenience methods like getAll, each, and transact on top of the raw Web Storage API.
Use cases
- store and retrieve JSON data in localStorage without manual stringify/parse
- namespace browser storage keys to avoid collisions
- run transactional updates on stored values
- iterate over all stored key/value pairs
- manage sessionStorage with the same API as localStorage
- clear or bulk-set storage entries safely
When to choose
- you want a nicer API over localStorage/sessionStorage in the browser
- you need automatic JSON serialization and namespacing for web storage
- you want a tiny dependency-free storage helper for a frontend app
When to avoid
- you need storage beyond the browser (Node.js, native apps)
- you need large-scale or indexed storage where IndexedDB is more appropriate
- you only need raw localStorage and don't want any wrapper
Facets
library · maturity stable
serialization developer-tools web-development frontend developer-tools browser cross-platform localstorage sessionstorage web-storage namespacing browser-storage javascript
1 source
- readme: https://github.com/nbubna/store · fetched 2026-08-28 · 897e975c2576
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| nbubna/store | main | 77 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem