# gsklee/ngStorage

localStorage and sessionStorage done right for AngularJS.

Repository: https://github.com/gsklee/ngStorage
Canonical: https://ross.abutalabs.com/products/ngstorage
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2018-09-17T17:31:07+00:00

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

## Adoption (not part of the score)
Stars 2315, forks 452 (observed 2026-08-28T04:06:36.797662+00:00)

## What it is
ngStorage is an AngularJS module providing $localStorage and $sessionStorage services that make Web Storage work reactively 'the Angular Way'. Changes to storage objects are automatically synced and persisted without manual getters and setters.

## Use cases
- persist AngularJS app state across page reloads
- store user preferences in localStorage with two-way binding
- use sessionStorage for per-tab temporary data in AngularJS
- sync scope variables to browser storage automatically
- set default values for browser storage keys

## When to choose
- you maintain a legacy AngularJS 1.x app needing simple Web Storage integration
- you want reactive localStorage/sessionStorage binding without boilerplate accessors

## When to avoid
- you use Angular (2+), React, Vue, or any modern framework - this is AngularJS-only
- you need cookie fallback for very old browsers
- you need an actively maintained library - last release was 2018

## Facets
- artifact type: library
- maturity: abandoned
- function: state-management, caching
- domain: web-development, frontend, developer-tools
- platform: browser
- tags: angularjs, localstorage, sessionstorage, web-storage, browser-storage, javascript

## Member repositories
- gsklee/ngStorage (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:36.797662+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-30T02:39:25.780029+00:00, confidence not recorded.
  - readme: https://github.com/gsklee/ngStorage (fetched 2026-08-28T04:06:36.797662+00:00, sha fa77387ba614)
  - registry_npm: https://registry.npmjs.org/ngstorage (fetched 2026-08-29T10:19:43.881932+00:00, sha 2f71e56d9480)
- Data as of 2026-08-30T08:39:29.467469+00:00.
