node-ejs-renderer/node_modules/humanize-ms
2024-06-09 13:55:01 -04:00
..
History.md Main initial commit 2024-06-09 13:55:01 -04:00
index.js Main initial commit 2024-06-09 13:55:01 -04:00
LICENSE Main initial commit 2024-06-09 13:55:01 -04:00
package.json Main initial commit 2024-06-09 13:55:01 -04:00
README.md Main initial commit 2024-06-09 13:55:01 -04:00

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