parse-ms-js
Version:
A simple Node.js wrapper for parse-ms
31 lines (23 loc) • 371 B
Markdown
> Parse milliseconds into an object
> This Module wrapper for parse-ms
## Install
```
$ npm install parse-ms-js
```
## Usage
```js
parseMsJS(1337000001);
/*
{
days: 15,
hours: 11,
minutes: 23,
seconds: 20,
milliseconds: 1,
microseconds: 0,
nanoseconds: 0
}
*/
```
## License
ISC © [Coders Code](https://discord.gg/cxJbCaqBPu)