pamelafox/lscache
A localStorage-based memcache-inspired client-side caching library. observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases no_license
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: 5802
- days_rel: n/a
- days_push: 1548
- n_releases_24m: 0
Adoption not part of the score
1467 stars · 153 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A small JavaScript library that emulates memcache-style caching using HTML5 localStorage, with per-item expiration times and automatic eviction of soonest-expiring items when the ~5MB limit is reached. It gracefully degrades to a no-op cache when localStorage is unavailable.
Use cases
- cache API responses in the browser with expiration
- store data client-side with a TTL
- emulate memcache in localStorage
- partition cached data into buckets
- evict expired cache entries automatically
- check if localStorage is supported before caching
When to choose
- you need simple client-side caching with expiration in a browser app
- you want a memcache-like API backed by localStorage
- you need graceful fallback when localStorage is unavailable
When to avoid
- you need caching in Node.js or non-browser environments
- you need more than ~5MB of storage
- you need a modern async cache like IndexedDB or Cache API
Facets
library · maturity maintenance
caching web-development frontend developer-tools browser localstorage memcache client-side-caching expiration browser-storage javascript
2 sources
- readme: https://github.com/pamelafox/lscache · fetched 2026-08-28 · 608895fc779a
- registry_npm: https://registry.npmjs.org/lscache · fetched 2026-08-29 · 14876db09343
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| pamelafox/lscache | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="pamelafox/lscache")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem