bundle/roast
magic-string@0.30.21
new
file no. 001 / npm ▍weigh-in

magic-string TS

Modify strings, generate sourcemaps

version 0.30.21 · entry dist/magic-string.es.mjs · #string#string manipulation#sourcemap#templating#transpilation
weighed at
brotli q11 · rolldown + minify
wire weight · brotli
5.68 kB
verdict small
brotli is 27% of minified unpacks 3.7× on the wire
minified
21.08 kB
saved on the wire
15.40 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…
dependencies
1 direct click to expand · hover for details
· @jridgewell/sourcemap-codec @1.5.5
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.