hexo/node_modules/humanize-ms/README.md

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