1.4.7 • Published 6 years ago

@dnode/parse-duration v1.4.7

Weekly downloads
17
License
MIT
Repository
github
Last release
6 years ago

dependencies | 1 | 1

DEPRECATED

In favor of @dnode/duration

Usage

1 hour 20 minutes in milliseconds

const ms = require('@dnode/parse-duration')('1h 20m');

1 hour 20 minutes in seconds (with second parameter)

const s = require('@dnode/parse-duration')('1h 20m', 's');

1 hour 20 minutes in seconds (with "in" keyword)

const s = require('@dnode/parse-duration')('1h 20m in s');
1.4.7

6 years ago

1.4.6

6 years ago

1.4.5

6 years ago

1.4.4

6 years ago

1.4.3

6 years ago

1.4.2

7 years ago

1.4.1

7 years ago

1.4.0

7 years ago

1.3.0

7 years ago

1.2.0

7 years ago

1.1.0

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago