bundle/roast
zod@4.6.5
← new
▍ file no. 001 / npm ▍weigh-in

zod TS

TypeScript-first schema declaration and validation library with static type inference

version 4.6.5 · entry index.js · subpaths 9 · #typescript#schema#validation#type#inference
▍ weighed at
brotli q11 · rolldown + minify
wire weight · brotli
83.36 kB
verdict big
brotli is 18% of minified unpacks 5.6× on the wire
minified
471.4 kB
saved on the wire
388.1 kB
▍field notes
side effects
3 file patterns
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
    100%
    71.45 kB br
    · 376.4 kB min
  • ./v4
    100%
    71.45 kB br
    · 376.4 kB min
  • ./mini
    93%
    66.46 kB br
    · 351.5 kB min
  • ./v4-mini
    93%
    66.46 kB br
    · 351.5 kB min
  • ./v4/mini
    93%
    66.46 kB br
    · 351.5 kB min
  • ./v4/core
    87%
    62.09 kB br
    · 328.8 kB min
  • ./locales
    40%
    28.87 kB br
    · 190.1 kB min
  • ./v4/locales
    40%
    28.87 kB br
    · 190.1 kB min
  • ./v3
    18%
    12.51 kB br
    · 59.77 kB min
  • ./compile
    12%
    8.83 kB br
    · 34.97 kB min
▍dependencies
deps-free certified standalone
transitive cost
zero.

zod 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.