FindSoftware

XState

JavaScript and TypeScript library for state management and orchestration, built on state machines, statecharts and actors.

XState is a JavaScript and TypeScript library for state management and orchestration. It models application logic as state machines, statecharts and actors.

The same repository holds the @xstate/store, @xstate/react, @xstate/vue, @xstate/svelte, @xstate/solid and @xstate/effect packages. Stately, the company founded by the library’s creator, offers Stately Studio, a hosted visual editor that its docs describe with premium features, as a separate product.

Worth knowing

The README and docs present a beta of the next major release as the install route, while the npm latest tag is the stable line.

Identity

Status
Active
Maintainer
David Khourshid3
First release
20176

Rendering and deploy

Install with
npm4

Releases

Current major version
57
Last release
2026-11-077

Adoption

GitHub stars
30,4862
npm downloads a week
8,648,1445
Contributors
3618
Dependent repositories
107,4289
Dependent packages
8359

Why these figures do not compare

Sources

  1. 2026-11-17: links
    stately.ai/docs
  2. 2026-11-17: links, Written in, GitHub stars
    api.github.com/repos/statelyai/xstate
  3. 2026-11-17: Maintainer, License, License model
    raw.githubusercontent.com/statelyai/xstate/next/LICENSE
  4. 2026-11-17: Categories, Install with
    raw.githubusercontent.com/statelyai/xstate/next/README.md
  5. 2026-11-17: npm downloads a week
    api.npmjs.org/downloads/range/2026-11-01:2026-11-07/xstate
  6. 2026-11-17: First release
    registry.npmjs.org/xstate
  7. 2026-11-17: Current major version, Last release
    api.github.com/repos/statelyai/xstate/releases
  8. 2026-11-17: Contributors
    api.github.com/repos/statelyai/xstate/contributors?per_page=1
  9. 2026-11-17: Dependent packages, Dependent repositories
    packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/xstate

Last reviewed · Listed since Edit on GitHubThis page as markdownas JSON