WIP - add extractor, generate snippet_data
This commit is contained in:
25
node_modules/convert-hrtime/readme.md
generated
vendored
Normal file
25
node_modules/convert-hrtime/readme.md
generated
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
# convert-hrtime [](https://travis-ci.org/sindresorhus/convert-hrtime)
|
||||
|
||||
> Convert the result of [`process.hrtime()`](https://nodejs.org/api/process.html#process_process_hrtime) to seconds, milliseconds, nanoseconds
|
||||
|
||||
|
||||
## Install
|
||||
|
||||
```
|
||||
$ npm install --save convert-hrtime
|
||||
```
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
const convertHrtime = require('convert-hrtime');
|
||||
|
||||
convertHrtime(process.hrtime(process.hrtime()));
|
||||
//=> {seconds: 0.000002399, milliseconds: 0.002399, nanoseconds: 2399}
|
||||
```
|
||||
|
||||
|
||||
## License
|
||||
|
||||
MIT © [Sindre Sorhus](https://sindresorhus.com)
|
||||
Reference in New Issue
Block a user