▍ file no. 001 / npm ▍weigh-in
wretch TS
A tiny wrapper built around fetch with an intuitive syntax.
▍ weighed at
brotli q11 · rolldown + minify
wire weight · brotli
3.93 kB
verdict tiny
brotli is 37% of minified unpacks 2.7× on the wire
- minified
- 10.73 kB
- saved on the wire
- 6.80 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 entry52%1.52 kB br· 4.00 kB min
- ./
all100%2.93 kB br· 8.02 kB min - ./
addons56%1.64 kB br· 4.13 kB min - ./
middlewares34%1008 B br· 2.28 kB min
▍dependencies
deps-free certified standalone
transitive cost
zero.
wretch 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.