# jeromegn/Backbone.localStorage

A localStorage adapter for Backbone.js

Repository: https://github.com/jeromegn/Backbone.localStorage
Canonical: https://ross.abutalabs.com/products/backbonelocalstorage
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2023-10-20T09:45:01+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 5791, "days_push": 1048, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1885, forks 668 (observed 2026-08-28T04:05:49.009668+00:00)

## What it is
A localStorage adapter for Backbone.js that replaces Backbone.sync to persist models and collections in the browser's localStorage instead of a server. It supports ES6 modules and allows switching back to AJAX sync per request via an ajaxSync flag.

## Use cases
- persist backbone models in the browser without a backend
- build offline-capable backbone apps with local storage
- prototype backbone apps without setting up a server
- cache backbone collection data client-side
- switch between local storage and server sync per request

## When to choose
- you use Backbone.js and need client-side persistence
- you want offline-first or demo apps without a backend
- you need a drop-in replacement for Backbone.sync

## When to avoid
- you use modern frameworks like React or Vue instead of Backbone
- you need large or structured storage beyond localStorage limits
- you need server-side persistence only

## Facets
- artifact type: library
- maturity: maintenance
- function: caching, serialization, middleware
- domain: frontend, web-development, developer-tools
- platform: browser
- tags: backbone, localstorage, offline-storage, persistence-adapter, nodejs

## Member repositories
- jeromegn/Backbone.localStorage (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:49.009668+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:13:36.545355+00:00, confidence not recorded.
  - readme: https://github.com/jeromegn/Backbone.localStorage (fetched 2026-08-28T04:05:49.009668+00:00, sha b575f8b8a123)
  - registry_npm: https://registry.npmjs.org/backbone.localstorage (fetched 2026-08-29T10:52:51.757329+00:00, sha b2fb6d5f165c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
