Comparing version 0.0.4 to 0.0.5
@@ -26,3 +26,3 @@ function roundTo(decimalPlaces, numberToRound) { | ||
function measure (fn, args, e=100000, r=1) { | ||
function timeit (fn, args, e=100000, r=1) { | ||
let results = [] | ||
@@ -36,2 +36,2 @@ for (let i = 0; i < r; i++) { | ||
module.exports = measure | ||
module.exports = timeit |
{ | ||
"name": "timeit-js", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "Performance Measuring for Node JS", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -26,3 +26,3 @@ # timeit-js | ||
*/ | ||
timeit.measure(fn, args, e=100000, r=1) | ||
timeit(fn, args, e=100000, r=1) | ||
``` |
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
2840