{"_id":"nanoseconds","_rev":"261531","name":"nanoseconds","description":"Convert the process.hrtime() array to a single nanoseconds value. This makes it easier to diff times.","dist-tags":{"latest":"1.0.1"},"maintainers":[{"name":"jonschlinkert","email":""},{"name":"npm:jonschlinkert","email":""}],"time":{"modified":"2023-03-27T17:29:49.000Z","created":"2015-10-18T09:43:08.513Z","1.0.1":"2018-03-19T20:10:33.406Z","1.0.0":"2018-03-19T19:27:52.440Z","0.1.0":"2015-10-18T09:43:08.513Z"},"users":{},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/nanoseconds.git"},"versions":{"1.0.1":{"name":"nanoseconds","description":"Convert the process.hrtime() array to a single nanoseconds value. This makes it easier to diff times.","version":"1.0.1","homepage":"https://github.com/jonschlinkert/nanoseconds","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/nanoseconds.git"},"bugs":{"url":"https://github.com/jonschlinkert/nanoseconds/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"gulp-format-md":"^1.0.0","mocha":"^3.5.3"},"keywords":["conversion","convert","format","formatting","hrtime","nano","nanosecond","nanoseconds","ns","pretty","second","seconds","time","time-stamp","timestamp"],"verb":{"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"list":["o-clock","pretty-time","time-stamp","timescale"]},"lint":{"reflinks":true}},"gitHead":"221591f7e9bfa428b1b82cb19f6b5de58cca30c5","_id":"nanoseconds@1.0.1","_npmVersion":"5.7.1","_nodeVersion":"9.7.1","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"dist":{"shasum":"596efc62110766be1ede671fedd861f5562318d3","size":2704,"noattachment":false,"key":"/nanoseconds/-/nanoseconds-1.0.1.tgz","tarball":"http://name.csiicloud.com:7001/nanoseconds/download/nanoseconds-1.0.1.tgz"},"maintainers":[{"name":"jonschlinkert","email":""},{"name":"npm:jonschlinkert","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nanoseconds_1.0.1_1521490233335_0.8052720991249986"},"_hasShrinkwrap":false,"publish_time":1521490233406,"_cnpm_publish_time":1521490233406,"_cnpmcore_publish_time":"2021-12-16T16:51:18.350Z"},"1.0.0":{"name":"nanoseconds","description":"Convert the process.hrtime() array to a single nanoseconds value. This makes it easier to diff times.","version":"1.0.0","homepage":"https://github.com/jonschlinkert/nanoseconds","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/nanoseconds.git"},"bugs":{"url":"https://github.com/jonschlinkert/nanoseconds/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"gulp-format-md":"^1.0.0","mocha":"^3.5.3"},"keywords":["conversion","convert","format","formatting","hrtime","nano","nanosecond","nanoseconds","ns","pretty","second","seconds","time","time-stamp","timestamp"],"verb":{"toc":false,"layout":"default","tasks":["readme"],"plugins":["gulp-format-md"],"related":{"list":["o-clock","pretty-time","time-stamp","timescale"]},"lint":{"reflinks":true}},"gitHead":"73f5a8973b419b7be637d721834f0120f5c4dd4e","_id":"nanoseconds@1.0.0","_npmVersion":"5.7.1","_nodeVersion":"9.7.1","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"dist":{"shasum":"2e996959dbf5b6a55020534ecd34c707df52e959","size":2702,"noattachment":false,"key":"/nanoseconds/-/nanoseconds-1.0.0.tgz","tarball":"http://name.csiicloud.com:7001/nanoseconds/download/nanoseconds-1.0.0.tgz"},"maintainers":[{"name":"jonschlinkert","email":""},{"name":"npm:jonschlinkert","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nanoseconds_1.0.0_1521487672374_0.6741682566288936"},"_hasShrinkwrap":false,"publish_time":1521487672440,"_cnpm_publish_time":1521487672440,"_cnpmcore_publish_time":"2021-12-16T16:51:18.596Z"},"0.1.0":{"name":"nanoseconds","description":"Convert the process.hrtime array to a single nanoseconds value.","version":"0.1.0","homepage":"https://github.com/jonschlinkert/nanoseconds","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/jonschlinkert/nanoseconds.git"},"bugs":{"url":"https://github.com/jonschlinkert/nanoseconds/issues"},"license":"MIT","files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"*"},"keywords":["conversion","convert","format","formatting","nano","nanosecond","ns","second","stamp","time","unit"],"verb":{"related":{"list":["pretty-time","timescale","time-stamp","o-clock"]}},"_id":"nanoseconds@0.1.0","_shasum":"69ec39fcd00e77ab3a72de0a43342824cd79233a","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":""},{"name":"npm:jonschlinkert","email":""}],"dist":{"shasum":"69ec39fcd00e77ab3a72de0a43342824cd79233a","size":2062,"noattachment":false,"key":"/nanoseconds/-/nanoseconds-0.1.0.tgz","tarball":"http://name.csiicloud.com:7001/nanoseconds/download/nanoseconds-0.1.0.tgz"},"directories":{},"publish_time":1445161388513,"_hasShrinkwrap":false,"_cnpm_publish_time":1445161388513,"_cnpmcore_publish_time":"2021-12-16T16:51:18.789Z"}},"readme":"# nanoseconds [![NPM version](https://img.shields.io/npm/v/nanoseconds.svg?style=flat)](https://www.npmjs.com/package/nanoseconds) [![NPM monthly downloads](https://img.shields.io/npm/dm/nanoseconds.svg?style=flat)](https://npmjs.org/package/nanoseconds) [![NPM total downloads](https://img.shields.io/npm/dt/nanoseconds.svg?style=flat)](https://npmjs.org/package/nanoseconds) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/nanoseconds.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/nanoseconds)\n\n> Convert the process.hrtime() array to a single nanoseconds value. This makes it easier to diff times.\n\nPlease consider following this project's author, [Jon Schlinkert](https://github.com/jonschlinkert), and consider starring the project to show your :heart: and support.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save nanoseconds\n```\n\n## Usage\n\n```js\nconst nano = require('nanoseconds');\nconsole.log(nano(process.hrtime()));\n//=> 725220674029406\n```\n\n**Examples**\n\n```js\nnano([0, 999]);\n//=> 999\n\nnano([12, 999]);\n//=> 12000000999\n\nnano(['1298001', '09187662']);\n//=> 1298001009187662\n```\n\n## About\n\n<details>\n<summary><strong>Contributing</strong></summary>\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\n</details>\n\n<details>\n<summary><strong>Running Tests</strong></summary>\n\nRunning and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:\n\n```sh\n$ npm install && npm test\n```\n\n</details>\n\n<details>\n<summary><strong>Building docs</strong></summary>\n\n_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_\n\nTo generate the readme, run the following command:\n\n```sh\n$ npm install -g verbose/verb#dev verb-generate-readme && verb\n```\n\n</details>\n\n### Related projects\n\nYou might also be interested in these projects:\n\n* [o-clock](https://www.npmjs.com/package/o-clock): Simple javascript utility for displaying the time in 12-hour clock format. | [homepage](https://github.com/jonschlinkert/o-clock \"Simple javascript utility for displaying the time in 12-hour clock format.\")\n* [pretty-time](https://www.npmjs.com/package/pretty-time): Easily format the time from node.js `process.hrtime`. Works with timescales ranging from weeks to nanoseconds. | [homepage](https://github.com/jonschlinkert/pretty-time \"Easily format the time from node.js `process.hrtime`. Works with timescales ranging from weeks to nanoseconds.\")\n* [time-stamp](https://www.npmjs.com/package/time-stamp): Get a formatted timestamp. | [homepage](https://github.com/jonschlinkert/time-stamp \"Get a formatted timestamp.\")\n* [timescale](https://www.npmjs.com/package/timescale): Convert from one time scale to another. Nanosecond is the most atomic unit, week is… [more](https://github.com/jonschlinkert/timescale) | [homepage](https://github.com/jonschlinkert/timescale \"Convert from one time scale to another. Nanosecond is the most atomic unit, week is the largest unit.\")\n\n### Author\n\n**Jon Schlinkert**\n\n* [LinkedIn Profile](https://linkedin.com/in/jonschlinkert)\n* [GitHub Profile](https://github.com/jonschlinkert)\n* [Twitter Profile](https://twitter.com/jonschlinkert)\n\n### License\n\nCopyright © 2018, [Jon Schlinkert](https://github.com/jonschlinkert).\nReleased under the [MIT License](LICENSE).\n\n***\n\n_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on March 19, 2018._","_attachments":{},"homepage":"https://github.com/jonschlinkert/nanoseconds","bugs":{"url":"https://github.com/jonschlinkert/nanoseconds/issues"},"license":"MIT"}