parse-duration
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -18,2 +18,6 @@ // ./index.d.ts | ||
export default function parse (str: string, format?: Units): number | null | ||
declare const parse: ((input: string, format?: Units) => number) & { | ||
[key: string]: number; | ||
}; | ||
export default parse; |
{ | ||
"name": "parse-duration", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "convert a human readable duration string to a duration format", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -8,3 +8,3 @@ | ||
`npm install parse-duration` | ||
[![NPM](https://nodei.co/npm/parse-duration.png?mini=true)](https://npmjs.org/package/parse-duration) | ||
@@ -77,3 +77,3 @@ then in your app: | ||
Available unit types are: | ||
#### Available unit types are: | ||
@@ -80,0 +80,0 @@ - nanoseconds (ns) |
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
6751
130