# grevory/angular-local-storage

An AngularJS module that gives you access to the browsers local storage with cookie fallback

Repository: https://github.com/grevory/angular-local-storage
Canonical: https://ross.abutalabs.com/products/angular-local-storage
Language: JavaScript
License: NOASSERTION
License Family: other
Topics: angular, angularjs, localstorage, javascript, cookie
Last push: 2017-08-29T14:16:59+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": 5119, "days_push": 3291, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2800, forks 572 (observed 2026-08-28T04:07:22.547636+00:00)

## What it is
An AngularJS module providing access to browser localStorage with automatic cookie fallback when storage is unavailable. It offers a configurable service for setting, getting, binding, and clearing storage keys with optional sessionStorage support.

## Use cases
- persist user preferences in an AngularJS app
- store data in localStorage with cookie fallback for older browsers
- bind scope variables to localStorage
- switch between localStorage and sessionStorage
- clear all app-prefixed storage keys

## When to choose
- you maintain a legacy AngularJS 1.x application needing simple client-side persistence
- you need cookie fallback for browsers without localStorage support

## When to avoid
- you use modern Angular (2+) or any other framework
- starting a new project - the library is unmaintained since 2017
- you need large or structured storage beyond simple key-value pairs

## Facets
- artifact type: library
- maturity: abandoned
- function: caching, state-management
- domain: web-development, frontend
- platform: browser
- tags: angularjs, localstorage, cookie-fallback, sessionstorage, legacy-angular, javascript

## Member repositories
- grevory/angular-local-storage (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:22.547636+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-30T08:14:35.967635+00:00, confidence not recorded.
  - readme: https://github.com/grevory/angular-local-storage (fetched 2026-08-28T04:07:22.547636+00:00, sha 9da01851b8b1)
  - registry_npm: https://registry.npmjs.org/angular-local-storage (fetched 2026-08-29T09:54:54.415646+00:00, sha 908dc55e146c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
