Skip to content
JS
Package

@xstate/fsm

XState for finite state machines

v2.1.0, 21 Jun 2023MITESM + CommonJSTypes: BundledState management
$ npm install @xstate/fsm

Key numbers

As of 25 Sept 2026
Weekly downloads
4m
+218% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
3 years ago
v2.1.0
GitHub stars
30.2k
1.4k forks
Open issues / PRs
92 / 45
Contributors
-
Commits, last 52 weeks
146

Downloads

Last week 2026-09-15 to 2026-09-21
02m4m6mSept 2025Mar 2026Sept 2026High 6m (25 Aug 2026)Low 961k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

4,015,129 downloads last week, 20,860,147 in the last month. The 12-month change of +218% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
024 in total
Latest version
2.1.0, 21 Jun 20233 years ago
First published
12 May 2019
Last push to GitHub
25 Sept 2026same day as the snapshot
Repository archived
No
Open issues
92
Open pull requests
45
Commits, last 52 weeks
146
Dependents on npm
166

Major versions

  1. v2 first release 2.0.0, 8 Apr 2022
  2. v1 first release 1.0.0, 4 Oct 2019
  3. v0 first release 0.1.0, 12 May 2019

Recent releases

VersionPublished
2.1.021 Jun 2023
2.0.16 Jun 2023
2.0.08 Apr 2022
1.6.522 Feb 2022
1.6.427 Jan 2022
1.6.330 Dec 2021
1.6.23 Sept 2021
1.6.117 May 2021
1.6.05 Feb 2021
1.5.226 Nov 2020
1.5.127 Aug 2020
1.5.017 Aug 2020
1.4.015 Apr 2020
1.3.024 Jan 2020
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
56 kB
Dependencies (0)
None
npm install @xstate/fsm
  • jsDelivrhttps://cdn.jsdelivr.net/npm/@xstate/fsm@2.1.0/
  • unpkghttps://unpkg.com/@xstate/fsm@2.1.0/
  • esm.shhttps://esm.sh/@xstate/fsm@2.1.0
PackageWeekly downloadsGzipLast releaseModuleComparison
little-state-machine469.5k-1 year agoESM + CommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.