Home / npm packages / date-fns

date-fns source code

Every file of date-fns@4.4.0 as published on npm: 5,136 files, 8.7 MB (the numbers below cover its first 3,000). Search them by exact text or regex, in milliseconds.

It uses: none of the APIs we check for.

What date-fns uses

APIIn date-fns
eval()
runs a string as JavaScript
NoWho does
new Function()
builds a function from a string, like eval (with or without new)
NoWho does
child_process
starts other programs
NoWho does
process.env
reads environment variables
NoWho does
the fs module
reads and writes files
NoWho does
http / https
makes or serves HTTP requests with Node's own modules
NoWho does
fetch()
makes HTTP requests
NoWho does
XMLHttpRequest
makes HTTP requests the old browser way
NoWho does
crypto
hashes, encrypts or makes random numbers
NoWho does
WebAssembly
loads WebAssembly code
NoWho does
document.cookie
reads or writes browser cookies
NoWho does
install scripts
runs a script when it's installed
NoWho does

Exact matches in the published files, so a mention in a comment counts too: open the lines to check.

Largest files

FileSize
locale/cdn.js837 KB
locale/cdn.min.js627 KB
fp/cdn.js557 KB
cdn.js517 KB
fp.cjs141 KB
fp/cdn.min.js101 KB
cdn.min.js90 KB
index.cjs85 KB
locale/be-tarask/cdn.js36 KB
locale/be/cdn.js36 KB
locale/uk/cdn.js35 KB
locale/ru/cdn.js35 KB
locale/kk/cdn.js34 KB
locale.cjs32 KB
locale/lv/cdn.js30 KB
locale/pl/cdn.js30 KB
locale/sk/cdn.js30 KB
parse.cjs29 KB
locale/bg/cdn.js27 KB
locale/it/cdn.js26 KB
locale/mk/cdn.js26 KB
locale/zh-CN/cdn.js26 KB
locale/it-CH/cdn.js26 KB
format.cjs25 KB
format.js25 KB
locale/ta/cdn.js24 KB
_lib/format/formatters.cjs24 KB
parse.d.cts23 KB
locale/sl/cdn.js23 KB
locale/kn/cdn.js23 KB

Questions

How many files are in date-fns?

Version 4.4.0 of date-fns publishes 5,136 files of source, 8.7 MB in all (the numbers below cover its first 3,000), not counting images, fonts and source maps.

Does date-fns use eval?

No: date-fns doesn't call eval() anywhere in its published files.

Does date-fns start other programs?

No: date-fns doesn't use child_process anywhere in its published files.

Does date-fns run an install script?

No: date-fns has no preinstall, install or postinstall script in its package.json.

npm packages that use…

Every package we've indexed →

Search your own code like this

The same engine answers over your documents and repositories: exact text and regex, every match counted, from your code or your AI agent.

See StackGrep Engine