Socket
Socket
Sign inDemoInstall

parse-duration

Package Overview
Dependencies
Maintainers
3
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

parse-duration - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

6

index.d.ts

@@ -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;

2

package.json
{
"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)

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc