[![dependencies | 1 | 1](https://img.shields.io/badge/dependencies-1%20|%201-blue.svg)](DEPENDENCIES.md)


stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
00Sep 7, 2018May 19, 2017Minified + gzip package size for @dnode/parse-duration in KB


dependencies | 1 | 1


In favor of @dnode/duration


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');

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.