Wisembly/basil.js
The missing Javascript smart persistent layer observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4576
- days_rel: n/a
- days_push: 1365
- n_releases_24m: 0
Adoption not part of the score
1970 stars · 62 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Basil.js is a JavaScript library providing a unified API over localStorage, sessionStorage, cookies, and in-memory storage. It automatically selects the best available storage mechanism and gracefully handles disabled cookies, full storage, and other native exceptions.
Use cases
- persist user preferences in the browser with automatic storage fallback
- store JavaScript objects client-side without manual JSON serialization
- handle browsers where cookies or localStorage are disabled
- namespace and manage client-side key-value data
- wrap cookies, localStorage, and sessionStorage behind one API
When to choose
- you need resilient client-side persistence that survives storage failures
- you want one API across cookies, localStorage, and sessionStorage
- you need namespaced storage with per-key storage selection
When to avoid
- you need server-side or cross-device persistence
- you only target modern browsers and prefer the native Storage API directly
- you need large-scale structured storage like IndexedDB
Facets
library · maturity maintenance
caching serialization web-development frontend developer-tools browser localstorage cookies session-storage client-side-persistence storage-fallback javascript
2 sources
- readme: https://github.com/Wisembly/basil.js · fetched 2026-08-28 · 0ee17c769a4b
- homepage: https://wisembly.github.io/basil.js · fetched 2026-08-29 · 4d84afb8578c
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| Wisembly/basil.js | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="Wisembly/basil.js")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem