Package Exports
- nanoseconds
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (nanoseconds) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
nanoseconds 
Convert the process.hrtime array to a single nanoseconds value.
Install
Install with npm
$ npm i nanoseconds --save
Usage
var nano = require('nanoseconds');
nano([0, 999]);
//=> 999
nano([12, 999]);
//=> 12000000999
nano([1298001, 09187662]);
//=> 1298001009187662
Related projects
- o-clock: Simple utility for displaying the time in 12-hour clock format. | homepage
- pretty-time: Easily format the time from node.js
process.hrtime
. Works with timescales ranging from weeks to nanoseconds. | homepage - time-stamp: Get a formatted timestamp. | homepage
- timescale: Convert from one time scale to another. Nanosecond is the most atomic unit, week is… more | homepage
Running tests
Install dev dependencies:
$ npm i -d && npm test
Contributing
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
Author
Jon Schlinkert
License
Copyright © 2015 Jon Schlinkert Released under the MIT license.
This file was generated by verb-cli on October 18, 2015.