▍ file no. 001 / npm ▍weigh-in
prettier TS CLI
Prettier is an opinionated code formatter
▍ weighed at
brotli q11 · rolldown + minify
wire weight · brotli
916.2 kB
verdict absurd
brotli is 15% of minified unpacks 6.7× on the wire
- minified
- 5.82 MB
- saved on the wire
- 4.92 MB
▍field notes
- side effects
- none (tree-shakeable)
- module formats
- ESM + CJS
- exports map
- present
- types
- bundled (own .d.ts)
- cli
- prettier
- peer deps
- none
▍ the roast
AI · freshly written
▍ incoming dispatch · priority: hot
the wire is humming…
- . main entry100%894.2 kB br· 3.95 MB min
- ./
plugins/flow36%319.5 kB br· 1.06 MB min - ./
parser-flow36%319.5 kB br· 1.06 MB min - ./
parser-babel7%64.87 kB br· 309.9 kB min - ./
plugins/babel7%64.57 kB br· 309.1 kB min - ./
parser-html5%42.24 kB br· 156.9 kB min - ./
plugins/html5%41.90 kB br· 156.2 kB min - ./
plugins/yaml4%37.02 kB br· 138.1 kB min - ./
parser-espree4%36.79 kB br· 146.6 kB min - ./
plugins/acorn4%36.70 kB br· 146.2 kB min - ./
parser-yaml4%35.40 kB br· 131.8 kB min - ./
standalone3%22.40 kB br· 79.17 kB min - ./
doc1%6.66 kB br· 28.22 kB min
▍dependencies
deps-free certified standalone
transitive cost
zero.
prettier 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.