bundle/roast
wretch@3.0.7
new
file no. 001 / npm ▍weigh-in

wretch TS

A tiny wrapper built around fetch with an intuitive syntax.

version 3.0.7 · entry dist/index.js · subpaths 3 · #wretch#fetch#ajax#request
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 entry
    52%
    1.52 kB br
    · 4.00 kB min
  • ./all
    100%
    2.93 kB br
    · 8.02 kB min
  • ./addons
    56%
    1.64 kB br
    · 4.13 kB min
  • ./middlewares
    34%
    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.