agsamantha/node_modules/humanize-ms/README.md
2024-10-02 15:15:21 -05:00

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