▍ file no. 001 / npm ▍weigh-in
prettier TS CLI
Prettier is an opinionated code formatter
▍ weighed at
brotli q11 · rolldown + minify
wire weight · brotli
677.5 kB
verdict absurd
brotli is 19% of minified unpacks 5.3× on the wire
- minified
- 3.45 MB
- saved on the wire
- 2.78 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%670.2 kB br· 3.35 MB min
- ./
plugins/typescript23%156.1 kB br· 864.8 kB min - ./
plugins/flow19%129.3 kB br· 661.1 kB min - ./
plugins/babel10%64.72 kB br· 307.8 kB min - ./
plugins/estree7%47.29 kB br· 199.2 kB min - ./
plugins/markdown6%42.20 kB br· 137.1 kB min - ./
plugins/acorn5%36.42 kB br· 145.7 kB min - ./
plugins/postcss5%35.21 kB br· 146.1 kB min - ./
plugins/meriyah4%29.48 kB br· 120.1 kB min - ./
standalone4%26.00 kB br· 88.30 kB min - ./
plugins/angular3%20.35 kB br· 92.44 kB min - ./
plugins/graphql2%10.54 kB br· 43.50 kB min - ./
doc1%6.52 kB br· 27.70 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.