Package
nanoseconds
Convert the process.hrtime() array to a single nanoseconds value. This makes it easier to diff times.
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
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- jsDelivr
https://cdn.jsdelivr.net/npm/nanoseconds@1.0.1/ - unpkg
https://unpkg.com/nanoseconds@1.0.1/ - esm.sh
https://esm.sh/nanoseconds@1.0.1
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| tinydate | 193.2k | - | 6 years ago | ESM + CommonJS | - |
| format-duration | 22.4k | - | 3 months ago | ESM only | - |
| date-and-time | 325k | - | 2 days ago | ESM + CommonJS | - |
| date-fns-tz | 7.5m | - | 1 year ago | ESM + CommonJS | - |
| human-interval | 201.5k | - | 5 years ago | CommonJS | - |
| date-format-parse | 118.7k | - | 5 years ago | ESM + CommonJS | - |
| @xmpp/time | 8.8k | - | 10 months ago | ESM only | - |
| @formkit/tempo | 61.8k | - | 4 months ago | ESM + CommonJS | - |
Indexability: Indexed.