@dnlup/hrtime-utils
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -5,2 +5,4 @@ # Changelog | ||
### [1.0.2](https://github.com/dnlup/hrtime-utils/compare/v1.0.1...v1.0.2) (2020-11-07) | ||
### [1.0.1](https://github.com/dnlup/hrtime-utils/compare/v1.0.0...v1.0.1) (2020-10-13) | ||
@@ -7,0 +9,0 @@ |
{ | ||
"name": "@dnlup/hrtime-utils", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "A small collection of useful functions to work with Node.js `process.hrtime` values", | ||
@@ -39,4 +39,4 @@ "main": "index.js", | ||
"markdown-toc": "^1.2.0", | ||
"snazzy": "^8.0.0", | ||
"standard": "^14.3.4", | ||
"snazzy": "^9.0.0", | ||
"standard": "^16.0.0", | ||
"standard-version": "^9.0.0", | ||
@@ -43,0 +43,0 @@ "tap": "^14.10.8" |
# hrtime-utils | ||
[![npm version](https://badge.fury.io/js/%40dnlup%2Fhrtime-utils.svg)](https://badge.fury.io/js/%40dnlup%2Fhrtime-utils) | ||
![Tests](https://github.com/dnlup/hrtime-utils/workflows/Tests/badge.svg) | ||
[![Coverage Status](https://coveralls.io/repos/github/dnlup/hrtime-utils/badge.svg?branch=current)](https://coveralls.io/github/dnlup/hrtime-utils?branch=current) | ||
[![Coverage Status](https://coveralls.io/repos/github/dnlup/hrtime-utils/badge.svg?branch=next)](https://coveralls.io/github/dnlup/hrtime-utils?branch=next) | ||
[![Known Vulnerabilities](https://snyk.io/test/github/dnlup/hrtime-utils/badge.svg?targetFile=package.json)](https://snyk.io/test/github/dnlup/hrtime-utils?targetFile=package.json) | ||
@@ -19,3 +19,2 @@ | ||
* [hrtime2s(time)](#hrtime2stime) | ||
- [Note](#note) | ||
@@ -77,5 +76,1 @@ <!-- tocstop --> | ||
This function converts `time` to seconds. | ||
## Note | ||
If your Node.js environment supports it, you could use [`process.hrtime.bigint()`](https://nodejs.org/docs/latest-v12.x/api/process.html#process_process_hrtime_bigint) instead of `process.hrtime()` and this module. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5049
75