▍ file no. 001 / npm ▍weigh-in
date-fns TS
Modern JavaScript date utility library
▍ weighed at
brotli q11 · rolldown + minify
wire weight · brotli
17.92 kB
verdict small
brotli is 21% of minified unpacks 4.8× on the wire
- minified
- 85.34 kB
- saved on the wire
- 67.42 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 entry89%15.10 kB br· 70.10 kB min
- ./
fp100%16.95 kB br· 78.53 kB min - ./
parse37%6.31 kB br· 29.27 kB min - ./
format28%4.80 kB br· 18.89 kB min - ./
fp/add3%460 B br· 915 B min - ./
sub2%413 B br· 847 B min - ./
add2%410 B br· 804 B min - ./
set2%409 B br· 927 B min - ./
clamp2%331 B br· 740 B min - ./
fp/max2%306 B br· 532 B min - ./
fp/min2%306 B br· 532 B min - ./
min1%252 B br· 421 B min - ./
max1%249 B br· 421 B min
▍dependencies
deps-free certified standalone
transitive cost
zero.
date-fns 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.