@maxdome/parse-duration

## 1 hour 20 minutes in milliseconds

Stats

StarsIssuesVersionUpdatedCreatedSize
@maxdome/parse-duration
1.4.43 years ago4 years agoMinified + gzip package size for @maxdome/parse-duration in KB

Readme

Usage

1 hour 20 minutes in milliseconds

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

1 hour 20 minutes in seconds (with second parameter)

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

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

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

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.