Skip to content
JS
Package

dateformat

A node.js package for Steven Levithan's excellent dateFormat() function.

v5.0.3, 19 Feb 2022MITESM onlyTypes: None
$ npm install dateformat

Key numbers

As of 25 Sept 2026
Weekly downloads
22.9m
+70% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
4 years ago
v5.0.3
GitHub stars
-
Open issues / PRs
- / -
Contributors
-
Commits, last 52 weeks
-

Downloads

Last week 2026-09-15 to 2026-09-21
010m20m30m40mSept 2025Mar 2026Sept 2026High 31.4m (25 Aug 2026)Low 7.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.

22,852,913 downloads last week, 106,064,355 in the last month. The 12-month change of +70% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
032 in total
Latest version
5.0.3, 19 Feb 20224 years ago
First published
13 Mar 2011
Last push to GitHub
-
Repository archived
-
Open issues
-
Open pull requests
-
Commits, last 52 weeks
-
Dependents on npm
3,042

Major versions

  1. v5 first release 5.0.0, 21 Sept 2021
  2. v4 first release 4.0.0, 19 Nov 2020
  3. v3 first release 3.0.0, 19 Sept 2017
  4. v2 first release 2.0.0, 25 Nov 2016
  5. v1 first release 1.0.8, 16 Sept 2014

Recent releases

VersionPublished
5.0.319 Feb 2022
5.0.216 Oct 2021
5.0.121 Sept 2021
4.6.321 Sept 2021
5.0.021 Sept 2021
4.6.221 Sept 2021
4.6.121 Sept 2021
4.6.021 Sept 2021
4.5.130 Jan 2021
4.5.023 Jan 2021
4.4.221 Jan 2021
4.4.122 Dec 2020
4.4.022 Dec 2020
4.3.15 Dec 2020
Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>=12.20
Runtimes
-
Unpacked size (npm)
19 kB
Dependencies (0)
None
npm install dateformat

CDN

jsDelivr: 146.7k requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/dateformat@5.0.3/
  • unpkghttps://unpkg.com/dateformat@5.0.3/
  • esm.shhttps://esm.sh/dateformat@5.0.3
Sources: npm registry, npm downloads API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): GitHub data not fetched yet; no category.