work.suroh.tk/node_modules/parse-ms
suroh 410082595a init 11ty commit 2019-12-02 13:22:45 +01:00
..
index.js init 11ty commit 2019-12-02 13:22:45 +01:00
package.json init 11ty commit 2019-12-02 13:22:45 +01:00
readme.md init 11ty commit 2019-12-02 13:22:45 +01:00

readme.md

parse-ms Build Status

Parse milliseconds into an object

Install

$ npm install --save parse-ms
$ bower install --save parse-ms
$ component install sindresorhus/parse-ms

Usage

parseMs(1337000001);
//=> { days: 15, hours: 11, minutes: 23, seconds: 20, milliseconds: 1 }

License

MIT © Sindre Sorhus