Skip to content
JS
Package

nanoseconds

Convert the process.hrtime() array to a single nanoseconds value. This makes it easier to diff times.

v1.0.1, 19 Mar 2018MITCommonJSTypes: NoneDate and time
$ npm install nanoseconds

Key numbers

As of 25 Sept 2026
Weekly downloads
23.1k
-40% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
8 years ago
v1.0.1
GitHub stars
9
1 forks
Open issues / PRs
0 / 0
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
020k40k60k80kSept 2025Mar 2026Sept 2026High 65.2k (24 Mar 2026)Low 17.6k (1 Sept 2026)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

23,097 downloads last week, 109,302 in the last month. The 12-month change of -40% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
1.0.1, 19 Mar 20188 years ago
First published
-
Last push to GitHub
19 Mar 20183,111 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
0
Commits, last 52 weeks
0
Dependents on npm
3

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>=0.10.0
Runtimes
-
Unpacked size (npm)
6.3 kB
Dependencies (0)
None
npm install nanoseconds
  • jsDelivrhttps://cdn.jsdelivr.net/npm/nanoseconds@1.0.1/
  • unpkghttps://unpkg.com/nanoseconds@1.0.1/
  • esm.shhttps://esm.sh/nanoseconds@1.0.1
PackageWeekly downloadsGzipLast releaseModuleComparison
tinydate193.2k-6 years agoESM + CommonJS-
format-duration22.4k-3 months agoESM only-
date-and-time325k-2 days agoESM + CommonJS-
date-fns-tz7.5m-1 year agoESM + CommonJS-
human-interval201.5k-5 years agoCommonJS-
date-format-parse118.7k-5 years agoESM + CommonJS-
@xmpp/time8.8k-10 months agoESM only-
@formkit/tempo61.8k-4 months agoESM + CommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.