Skip to content
JS
Package

date-fns-duration

Supplemental package for date-fns to add/subtract ISO 8601 durations

v1.0.4, 24 Nov 2020MITCommonJSTypes: NoneDate and time
$ npm install date-fns-duration

Key numbers

As of 25 Sept 2026
Weekly downloads
2.1k
+193% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
5 years ago
v1.0.4
GitHub stars
12
3 forks
Open issues / PRs
2 / 4
Contributors
-
Commits, last 52 weeks
1

Downloads

Last week 2026-09-15 to 2026-09-21
01k2k3k4kSept 2025Mar 2026Sept 2026High 3k (25 Aug 2026)Low 104 (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.

2,120 downloads last week, 9,911 in the last month. The 12-month change of +193% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
1.0.4, 24 Nov 20205 years ago
First published
-
Last push to GitHub
17 Aug 202638 days before the snapshot
Repository archived
No
Open issues
2
Open pull requests
4
Commits, last 52 weeks
1
Dependents on npm
2

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
2.2 kB
Dependencies (0)
None
Peer dependencies (1)
date-fns
npm install date-fns-duration
  • jsDelivrhttps://cdn.jsdelivr.net/npm/date-fns-duration@1.0.4/
  • unpkghttps://unpkg.com/date-fns-duration@1.0.4/
  • esm.shhttps://esm.sh/date-fns-duration@1.0.4
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): downloads_week 2120 < 10000.