0.0.0 • Published 8 years ago

hrtime-mili v0.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
8 years ago

hrtime-mili

Get miliseconds from process.hrtime()

Installation

$ npm install --save hrtime-mili

Usage

var hrtimeMili = require('hrtime-mili');

var start = process.hrtime();
var end;

// ... things ...

end = process.hrtime(start);

console.log('start:', start); // > start: [13251, 699392351]
console.log('end:', end); // > end: [5, 562756261]
console.log('end:', hrtimeMili(end), 'ms'); // > end: 5562.756261 ms

Changelog

View on github.

0.0.0

8 years ago