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

xstate TS

Finite State Machines and Statecharts for the Modern Web.

version 5.32.5 · 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.87 kB
verdict small
brotli is 27% of minified unpacks 3.7× on the wire
minified
61.56 kB
saved on the wire
44.69 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.78 kB br
    · 49.79 kB min
  • ./graph
    100%
    14.38 kB br
    · 51.29 kB min
  • ./actions
    67%
    9.66 kB br
    · 32.61 kB min
  • ./actors
    65%
    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.