-
-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
It would be useful if this module also supported hrtime.bigint().
If you do
const start = process.hrtime.bigint();
prettyTime(process.hrtime.bigint() - start);
You'll get a
TypeError: Cannot mix BigInt and other types, use explicit conversions
at module.exports (pretty-time/index.js:32:19)
So it's neccesary to do prettyTime(Number(process.hrtime.bigint() - start)) - would be nice it this module did that itself.
TheOptimisticFactory, theonethread, isbabaev and JairAviles
Metadata
Metadata
Assignees
Labels
No labels