Skip to content
JS
Package

date-fns

Collection of standalone functions for working with native JavaScript Date objects.

v4.4.0, 29 May 2026MITESM + CommonJSTypes: BundledRuns in: Browser, Node.jsDate and timeUtility libraries
$ npm install date-fns

Key numbers

As of 25 Sept 2026
Weekly downloads
72.4m
+129% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
3 months ago
v4.4.0
GitHub stars
36.6k
2k forks
Open issues / PRs
665 / 353
Contributors
431
Commits, last 52 weeks
316

Downloads

Last week 2026-09-15 to 2026-09-21
050m100m150mSept 2025Mar 2026Sept 2026High 101.7m (18 Aug 2026)Low 19.9m (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

72,360,904 downloads last week, 334,516,886 in the last month. The 12-month change of +129% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
4137 in total
Latest version
4.4.0, 29 May 20263 months ago
First published
6 Oct 2014
Last push to GitHub
22 Sept 20262 days before the snapshot
Repository archived
No
Open issues
665
Open pull requests
353
Commits, last 52 weeks
316
Dependents on npm
27,051

Major versions

  1. v4 first release 4.0.0, 16 Sept 2024
  2. v3 first release 3.0.0, 18 Dec 2023
  3. v2 first release 2.0.0, 20 Aug 2019
  4. v1 first release 1.0.0, 18 May 2016
  5. v0 first release 0.1.0, 6 Oct 2014

Recent releases

VersionPublished
4.4.029 May 2026
4.3.022 May 2026
4.2.118 May 2026
4.2.018 May 2026
4.1.017 Sept 2024
4.0.016 Sept 2024
3.6.018 Mar 2024
3.5.015 Mar 2024
3.4.011 Mar 2024
3.3.122 Jan 2024
3.3.020 Jan 2024
3.2.09 Jan 2024
3.1.05 Jan 2024
3.0.622 Dec 2023
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
Browser, Node.jsFrom the package docs
Unpacked size (npm)
10.4 MB
Dependencies (0)
None
npm install date-fns

CDN

jsDelivr: 68.6m requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/date-fns@4.4.0/
  • unpkghttps://unpkg.com/date-fns@4.4.0/
  • esm.shhttps://esm.sh/date-fns@4.4.0
PackageWeekly downloadsGzipLast releaseModuleComparison
dayjs51.5m-1 month agoCommonJSdate-fns vs dayjs
luxon27.4m-1 year agoESM + CommonJSdate-fns vs luxon
moment26.5m-10 days agoCommonJSdate-fns vs moment
time-stamp2.5m-7 years agoCommonJS-
  • Functions operate on the native Date type and do not extend core objects.
  • Pure functions that always return a new date instance.
  • v4 added time zone support through the separate @date-fns/tz package, which provides TZDate.
  • Written in TypeScript. Locales are imported individually.

Related

Sources: npm registry, npm downloads API, GitHub API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Indexed.