parse-duration
Advanced tools
Comparing version 0.1.3 to 0.2.0
'use strict' | ||
var duration = /(-?\d*\.?\d+(?:e[-+]?\d+)?)\s*([a-zμ]*)/ig | ||
var duration = /(-?\d*\.?\d+(?:e[-+]?\d+)?)\s*([a-zµμ]*)/ig | ||
@@ -14,3 +14,5 @@ module.exports = parse | ||
parse['µs'] = | ||
parse['μs'] = | ||
parse.us = | ||
parse.microsecond = 1 / 1e3 | ||
@@ -17,0 +19,0 @@ |
{ | ||
"name": "parse-duration", | ||
"version": "0.1.3", | ||
"version": "0.2.0", | ||
"description": "convert a human readable duration string to ms", | ||
@@ -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
4200
51