common-ms
v1.0.1
Published
CommonJS version of parse-ms module
Downloads
16
Readme
Install
$ npm install common-ms
Usage
const parseMiliseconds = require('common-ms')
parseMilliseconds(1337000001);
/*
{
days: 15,
hours: 11,
minutes: 23,
seconds: 20,
milliseconds: 1,
microseconds: 0,
nanoseconds: 0
}
*/