ns-timer
Nanoseconds timer for Node.js.
Installation
# npm
$ npm install ns-timer
# yarn
$ yarn add ns-timer
Usage
This is a practical example of how to use.
const Timer = require('ns-timer')
const timer = new Timer().start()
setTimeout(() => {
console.log(timer.stop().diff())
}, 1000)