wallet-core/node_modules/time-require/node_modules/parse-ms
2017-05-28 00:40:43 +02:00
..
index.js add linting (and some initial fixes) 2017-05-28 00:40:43 +02:00
package.json add linting (and some initial fixes) 2017-05-28 00:40:43 +02:00
readme.md add linting (and some initial fixes) 2017-05-28 00:40:43 +02:00

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