Skip to content
JS
Package

@sapphire/duration

A time duration utility library for JavaScript.

v1.2.0, 28 Mar 2025MITESM + CommonJSTypes: BundledTypeScript toolingUtility libraries
$ npm install @sapphire/duration

Key numbers

As of 25 Sept 2026
Weekly downloads
12.1k
- over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
1 year ago
v1.2.0
GitHub stars
191
42 forks
Open issues / PRs
9 / 14
Contributors
-
Commits, last 52 weeks
66

No weekly download data in the snapshot.

12,095 downloads last week, 51,512 in the last month. No 52-week series has been fetched yet.

Releases, last 12 months
-
Latest version
1.2.0, 28 Mar 20251 year ago
First published
-
Last push to GitHub
24 Sept 2026same day as the snapshot
Repository archived
No
Open issues
9
Open pull requests
14
Commits, last 52 weeks
66
Dependents on npm
6

Major versions

-

Recent releases

-

Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=v14.0.0
Runtimes
-
Unpacked size (npm)
92 kB
Dependencies (0)
None
npm install @sapphire/duration
  • jsDelivrhttps://cdn.jsdelivr.net/npm/@sapphire/duration@1.2.0/
  • unpkghttps://unpkg.com/@sapphire/duration@1.2.0/
  • esm.shhttps://esm.sh/@sapphire/duration@1.2.0
PackageWeekly downloadsGzipLast releaseModuleComparison
tsafe811.9k-11 months agoESM + CommonJS-
type-fest285.1m-7 days agoESM only-
tsutils16.1m-5 years ago--
utility-types7.8m-2 years agoCommonJS-
just-diff4.6m-3 years agoESM + CommonJS-
just-diff-apply4.4m-3 years agoESM + CommonJS-
just-curry-it729.3k-3 years agoESM + CommonJS-
just-snake-case364.9k-3 years agoESM + CommonJS-
Sources: npm registry, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.