Skip to content
JS
Package

parse-duration

Convert a human readable duration string to a duration format

v2.1.9, 21 Sept 2026MITESM onlyTypes: Bundled
$ npm install parse-duration

Key numbers

As of 25 Sept 2026
Weekly downloads
617.2k
+98% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
4 days ago
v2.1.9
GitHub stars
347
48 forks
Open issues / PRs
0 / 1
Contributors
-
Commits, last 52 weeks
26

Downloads

Last week 2026-09-15 to 2026-09-21
0250k500k750k1mSept 2025Mar 2026Sept 2026High 855.7k (4 Aug 2026)Low 173.7k (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.

617,209 downloads last week, 2,919,972 in the last month. The 12-month change of +98% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
536 in total
Latest version
2.1.9, 21 Sept 20264 days ago
First published
19 Dec 2013
Last push to GitHub
21 Sept 20264 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
1
Commits, last 52 weeks
26
Dependents on npm
395

Major versions

  1. v2 first release 2.0.0, 26 Jan 2025
  2. v1 first release 1.0.0, 16 Mar 2021
  3. v0 first release 0.1.0, 19 Dec 2013

Recent releases

VersionPublished
2.1.921 Sept 2026
2.1.810 Jul 2026
2.1.710 Jul 2026
2.1.67 Apr 2026
2.1.521 Dec 2025
2.1.428 Mar 2025
2.1.311 Feb 2025
2.1.231 Jan 2025
2.1.131 Jan 2025
2.1.031 Jan 2025
2.0.231 Jan 2025
2.0.126 Jan 2025
2.0.026 Jan 2025
1.1.224 Jan 2025
Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
9.6 kB
Dependencies (0)
None
npm install parse-duration
  • jsDelivrhttps://cdn.jsdelivr.net/npm/parse-duration@2.1.9/
  • unpkghttps://unpkg.com/parse-duration@2.1.9/
  • esm.shhttps://esm.sh/parse-duration@2.1.9
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): no category.