energy_system_modelling_wor.../node_modules/parse-ms
2022-03-24 09:22:39 -04:00
..
index.d.ts add working version of ep_workflow 2022-03-24 09:22:39 -04:00
index.js add working version of ep_workflow 2022-03-24 09:22:39 -04:00
license add working version of ep_workflow 2022-03-24 09:22:39 -04:00
package.json add working version of ep_workflow 2022-03-24 09:22:39 -04:00
readme.md add working version of ep_workflow 2022-03-24 09:22:39 -04:00

parse-ms Build Status

Parse milliseconds into an object

Install

$ npm install parse-ms

Usage

const parseMilliseconds = require('parse-ms');

parseMilliseconds(1337000001);
/*
{
	days: 15,
	hours: 11,
	minutes: 23,
	seconds: 20,
	milliseconds: 1,
	microseconds: 0,
	nanoseconds: 0
}
*/

License

MIT © Sindre Sorhus