bundle/roast
xstate@5.32.6
new
file no. 001 / npm ▍weigh-in

xstate TS

Finite State Machines and Statecharts for the Modern Web.

version 5.32.6 · 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.92 kB
verdict small
brotli is 27% of minified unpacks 3.7× on the wire
minified
61.80 kB
saved on the wire
44.87 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 entry
    96%
    13.83 kB br
    · 50.03 kB min
  • ./graph
    100%
    14.41 kB br
    · 51.53 kB min
  • ./actions
    67%
    9.66 kB br
    · 32.61 kB min
  • ./actors
    64%
    9.28 kB br
    · 32.17 kB min
  • ./guards
    60%
    8.61 kB br
    · 28.40 kB min
  • ./dev
    2%
    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.