Comparing version 0.0.10 to 0.0.11
@@ -70,2 +70,3 @@ /// <reference types="node" /> | ||
var time: (...args: any[]) => boolean; | ||
var end: (...args: any[]) => boolean; | ||
var timeEnd: (...args: any[]) => boolean; | ||
@@ -72,0 +73,0 @@ var now: () => [number, number]; |
@@ -118,2 +118,4 @@ "use strict"; | ||
z = 'time'; | ||
if (z === 'detail') | ||
z = 'debug'; | ||
level = `${z.toUpperCase()} `; | ||
@@ -362,2 +364,5 @@ } | ||
}; | ||
Debug.end = function end(...args) { | ||
return process.stdout.write(util.format.call(util, ...args) + '\n'); | ||
}; | ||
Debug.timeEnd = function timeEnd(...args) { | ||
@@ -364,0 +369,0 @@ return process.stdout.write(util.format.call(util, ...args) + '\n'); |
{ | ||
"name": "exer", | ||
"version": "0.0.10", | ||
"version": "0.0.11", | ||
"description": "Utils in TypeScript, Debug, NanoTimer ...", | ||
@@ -5,0 +5,0 @@ "author": "kbajalc@gmail.com", |
@@ -15,3 +15,3 @@ # exer | ||
To use exeriot with node.js, install it using npm: | ||
To use exer utils with node.js, install it using npm: | ||
@@ -18,0 +18,0 @@ ``` |
Sorry, the diff of this file is not supported yet
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
66815
955