1.4.7 • Published 7 years ago

@dnode/parse-duration v1.4.7

Weekly downloads
17
License
MIT
Repository
github
Last release
7 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

7 years ago

1.4.6

7 years ago

1.4.5

7 years ago

1.4.4

7 years ago

1.4.3

7 years ago

1.4.2

8 years ago

1.4.1

8 years ago

1.4.0

8 years ago

1.3.0

8 years ago

1.2.0

8 years ago

1.1.0

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago