You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1.1 KiB

humanize-ms

NPM version build status Test coverage Gittip David deps

transform humanize time to ms

Installation

$ npm install humanize-ms

Examples

var ms = require('humanize-ms');

ms('1s') // 1000
ms(1000) // 1000

License

MIT