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.
It would be useful if this module also supported
hrtime.bigint().If you do
You'll get a
So it's neccesary to do
prettyTime(Number(process.hrtime.bigint() - start))- would be nice it this module did that itself.