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

xstate TS

Finite State Machines and Statecharts for the Modern Web.

version 5.33.3 · 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
62.01 kB
saved on the wire
45.09 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.85 kB br
    · 50.25 kB min
  • ./graph
    100%
    14.44 kB br
    · 51.75 kB min
  • ./actions
    67%
    9.69 kB br
    · 32.70 kB min
  • ./actors
    64%
    9.30 kB br
    · 32.26 kB min
  • ./guards
    60%
    8.63 kB br
    · 28.50 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.