proback.js
Advanced tools
Comparing version 2.1.2 to 2.1.3
module.exports = { | ||
stopper: async function ( promise ) { | ||
let timestamp = Date.now() | ||
await promise | ||
return Date.now() - timestamp | ||
}, | ||
timeout: function (ms) { | ||
@@ -3,0 +8,0 @@ return new Promise(resolve => setTimeout(resolve, ms)) |
{ | ||
"name": "proback.js", | ||
"version": "2.1.2", | ||
"version": "2.1.3", | ||
"description": "Tiny libary to aid Promise/Callback dual API design", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
14531
11
341