# ngxs/store

🚀 NGXS - State Management for Angular

Repository: https://github.com/ngxs/store
Canonical: https://ross.abutalabs.com/products/store
Homepage: http://ngxs.io
Language: TypeScript
License: MIT
License Family: permissive
Topics: cqrs, redux, ngrx, angular, event-sourcing, state-management, ngxs
Last push: 2026-08-26T17:31:17+00:00

## Health v2 (maintenance only)
Score: 96/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 91, longevity 100
- inputs: {"age_days": 3123, "days_push": 7, "days_rel": 63, "gap_med": 12, "n_releases_24m": 12}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3547, forks 404 (observed 2026-08-28T04:08:09.440749+00:00)

## What it is
NGXS is a state management pattern and library for Angular applications, modeled after the CQRS pattern like Redux and NgRx. It reduces boilerplate by leveraging modern TypeScript features such as classes and decorators, and minimizes the need for deep RxJS knowledge.

## Use cases
- manage application state in an angular app
- redux-style state management without boilerplate
- single source of truth for angular application state
- predictable state mutations in angular
- alternative to ngrx with less boilerplate
- handle forms and router state with plugins
- debug state changes with devtools plugin

## When to choose
- you are building an Angular application that needs centralized, predictable state management
- you want CQRS/Redux-style patterns with minimal boilerplate using TypeScript classes and decorators
- your team is not deeply familiar with RxJS but needs robust state handling
- you want an ecosystem of plugins for devtools, forms, storage, websockets, and router integration

## When to avoid
- you are not using Angular (NGXS is Angular-specific)
- your application is small enough that simple services or signals suffice
- you prefer signal-based state management over observable/action-based stores

## Facets
- artifact type: library
- maturity: active
- function: state-management, middleware, plugin-system
- domain: frontend, web-development, developer-tools
- platform: cross-platform
- tags: angular, cqrs, redux-pattern, typescript, rxjs, event-sourcing, ngrx-alternative, nodejs, web-server

## Member repositories
- ngxs/store (main) score 96

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:09.440749+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-29T18:34:23.593901+00:00, confidence not recorded.
  - readme: https://github.com/ngxs/store (fetched 2026-08-28T04:08:09.440749+00:00, sha 4e10922834cd)
  - homepage: http://ngxs.io (fetched 2026-08-29T09:28:48.747727+00:00, sha e19da462be69)
  - site_page: https://www.ngxs.io/introduction/installation (fetched 2026-08-29T09:28:48.757015+00:00, sha af28e8392869)
- Data as of 2026-08-30T08:39:29.467469+00:00.
