Comparing version 0.2.4 to 1.0.1
{ | ||
"name": "hirestime", | ||
"version": "0.2.4", | ||
"version": "1.0.1", | ||
"description": "thin wrapper around process.hrtime", | ||
@@ -16,3 +16,6 @@ "main": "index.js", | ||
"hirestimer", | ||
"milliseconds" | ||
"milliseconds", | ||
"seconds", | ||
"nanoseconds", | ||
"high resolution timer" | ||
], | ||
@@ -25,6 +28,6 @@ "author": "Manuel Ernst <zaphod84@gmx.de>", | ||
"devDependencies": { | ||
"mocha": "~1.15.1", | ||
"chai": "~1.8.1", | ||
"hrtimemock": "0.0.2" | ||
"chai": "^1.9.1", | ||
"hrtimemock": "0.0.2", | ||
"mocha": "^1.21.4" | ||
} | ||
} |
@@ -1,7 +0,5 @@ | ||
# hirestime | ||
# hirestime [](https://travis-ci.org/zaphod1984/hirestime) | ||
...because there aren't enough hrtime wrappers yet. | ||
[](https://travis-ci.org/zaphod1984/hirestime) | ||
[](https://nodei.co/npm/hirestime/) | ||
@@ -13,4 +11,11 @@ | ||
## Installation | ||
````bash | ||
npm install hirestime | ||
```` | ||
## hirestime() | ||
returns a function: | ||
### returnedFunction([unit]) | ||
@@ -17,0 +22,0 @@ returns the elapsed time since the call of `hirestime` in milliseconds. |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
5400
1
55