▍ file no. 001 / npm ▍weigh-in
xstate TS
Finite State Machines and Statecharts for the Modern Web.
version 5.31.1 · entry
dist/xstate.cjs.mjs · subpaths 5 · #statechart#state machine#finite state machine#finite automata#scxml#state▍ weighed at
brotli q11 · rolldown + minify
wire weight · brotli
16.80 kB
verdict small
brotli is 27% of minified unpacks 3.7× on the wire
- minified
- 61.39 kB
- saved on the wire
- 44.59 kB
▍field notes
- side effects
- none (tree-shakeable)
- module formats
- ESM + CJS
- exports map
- present
- types
- bundled (own .d.ts)
- peer deps
- none
▍ the roast
AI · freshly written
▍ incoming dispatch · priority: hot
the wire is humming…
- . main entry96%13.73 kB br· 49.63 kB min
- ./
graph100%14.35 kB br· 51.20 kB min - ./
actions67%9.63 kB br· 32.52 kB min - ./
actors64%9.24 kB br· 32.08 kB min - ./
guards60%8.58 kB br· 28.31 kB min - ./
dev2%262 B br· 648 B min
▍dependencies
deps-free certified standalone
transitive cost
zero.
xstate ships on its own — no transitive weight, no shared deps to dedupe, no peer pressure. a rare bird.
▍ see also
outbound
▍another case
drop a package
Got a heavier sin to confess? Roast another package — or share this one to make a friend reconsider their dep tree.