GitShow/sindresorhus/convert-hrtime
sindresorhus

convert-hrtime

Convert the result of `process.hrtime()` to seconds, milliseconds, nanoseconds

by sindresorhus
Star on GitHubForknpm

JavaScript

55 stars8 forks4 contributorsQuiet · 3y agoSince 2015v5.0.0MIT

Meet the team

See all 4 on GitHub →
sindresorhus
sindresorhus11 contributions
BendingBender
BendingBender1 contribution
jesstelford
jesstelford1 contribution
Richienb
Richienb1 contribution

Languages

View on GitHub →
JavaScript66.1%
TypeScript33.9%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

4 of 6 standards met

Community profile →
85
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template

Recent fixes

View closed PRs →
daniloab
version 5.0.0 not working with jestClosedIssue

im using convert-hrtime and when tryting to run with jest using the version 5 does not work. Then, I rollback to the version 3 and works normally

daniloab · 3y ago
vongohren
Does not work out of the box for a node typescript projectClosedIssue

I installed this recently and expected it to work out of the box. But got this error: My setup is: Node: 12.22 Typescript: 4.2.4 Ts-node: 9.1.1

vongohren · 5y ago
pubkey
ES modules is not supportedClosedIssue

When upgrading to version I get a strange error when importing the module. I import the module into typescript like shown in the readme. When I start the node process, I get the following error: This problem did not occur in the previous version.

pubkey · 5y ago
Structured data for AI agents

Repository: sindresorhus/convert-hrtime. Description: Convert the result of `process.hrtime()` to seconds, milliseconds, nanoseconds Stars: 55, Forks: 8. Primary language: JavaScript. Languages: JavaScript (66.1%), TypeScript (33.9%). License: MIT. Latest release: v5.0.0 (5y ago). Open PRs: 0, open issues: 0. Last activity: 3y ago. Community health: 85%. Top contributors: sindresorhus, BendingBender, jesstelford, Richienb.

·@ofershap

Replace github.com with gitshow.dev