Skip to content
JS
Package

state-switch

State Switch is a Change Monitor/Guarder for Async Actions.

v1.6.3, 20 Dec 2021Apache-2.0ESM + CommonJSTypes: BundledPromises and async control flow
$ npm install state-switch

Key numbers

As of 25 Sept 2026
Weekly downloads
2.9k
+56% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
2
Direct, from package.json
Last release
4 years ago
v1.6.3
GitHub stars
5
0 forks
Open issues / PRs
2 / 0
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
02k4k6k8kSept 2025Mar 2026Sept 2026High 6.5k (7 Oct 2025)Low 990 (28 Oct 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

2,869 downloads last week, 18,072 in the last month. The 12-month change of +56% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
1.6.3, 20 Dec 20214 years ago
First published
-
Last push to GitHub
18 Jan 20221,711 days before the snapshot
Repository archived
No
Open issues
2
Open pull requests
0
Commits, last 52 weeks
0
Dependents on npm
41

Major versions

-

Recent releases

-

Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=16
Runtimes
-
Unpacked size (npm)
267 kB
Dependencies (2)
xstate@pipeletteio/nop
Peer dependencies (3)
rxjsbrologgerror
npm install state-switch
  • jsDelivrhttps://cdn.jsdelivr.net/npm/state-switch@1.6.3/
  • unpkghttps://unpkg.com/state-switch@1.6.3/
  • esm.shhttps://esm.sh/state-switch@1.6.3
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): downloads_week 2869 < 10000.