parse-ms

WebJar for parse-ms

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

parse-ms
Last Version

Last Version

2.1.0
Release Date

Release Date

Type

Type

jar
Description

Description

parse-ms
WebJar for parse-ms
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/sindresorhus/parse-ms

Download parse-ms

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/parse-ms/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>parse-ms</artifactId>
    <version>2.1.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/parse-ms/
implementation 'org.webjars.npm:parse-ms:2.1.0'
// https://jarcasting.com/artifacts/org.webjars.npm/parse-ms/
implementation ("org.webjars.npm:parse-ms:2.1.0")
'org.webjars.npm:parse-ms:jar:2.1.0'
<dependency org="org.webjars.npm" name="parse-ms" rev="2.1.0">
  <artifact name="parse-ms" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='parse-ms', version='2.1.0')
)
libraryDependencies += "org.webjars.npm" % "parse-ms" % "2.1.0"
[org.webjars.npm/parse-ms "2.1.0"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

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
}
*/

Related

License

MIT © Sindre Sorhus

Versions

Version
2.1.0
1.0.1