bundle/roast
date-fns@4.4.0
new
file no. 001 / npm ▍weigh-in

date-fns TS

Modern JavaScript date utility library

version 4.4.0 · entry index.js · subpaths 12
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 entry
    89%
    15.10 kB br
    · 70.10 kB min
  • ./fp
    100%
    16.95 kB br
    · 78.53 kB min
  • ./parse
    37%
    6.31 kB br
    · 29.27 kB min
  • ./format
    28%
    4.80 kB br
    · 18.89 kB min
  • ./fp/add
    3%
    460 B br
    · 915 B min
  • ./sub
    2%
    413 B br
    · 847 B min
  • ./add
    2%
    410 B br
    · 804 B min
  • ./set
    2%
    409 B br
    · 927 B min
  • ./clamp
    2%
    331 B br
    · 740 B min
  • ./fp/max
    2%
    306 B br
    · 532 B min
  • ./fp/min
    2%
    306 B br
    · 532 B min
  • ./min
    1%
    252 B br
    · 421 B min
  • ./max
    1%
    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.