epochjs

WebJar for epochjs

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

epochjs
Last Version

Last Version

2.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

epochjs
WebJar for epochjs
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/bchr02/epochjs

Download epochjs

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/epochjs/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>epochjs</artifactId>
    <version>2.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/epochjs/
implementation 'org.webjars.npm:epochjs:2.0.0'
// https://jarcasting.com/artifacts/org.webjars.npm/epochjs/
implementation ("org.webjars.npm:epochjs:2.0.0")
'org.webjars.npm:epochjs:jar:2.0.0'
<dependency org="org.webjars.npm" name="epochjs" rev="2.0.0">
  <artifact name="epochjs" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='epochjs', version='2.0.0')
)
libraryDependencies += "org.webjars.npm" % "epochjs" % "2.0.0"
[org.webjars.npm/epochjs "2.0.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.

epochjs version 2.0.0

Track the elapsed time since a certain point, like the start of a node script.

NPM

Installation:

Run npm install epochjs to install from the NPM registry.

Examples:

var Epochjs = require('epochjs'),
	epochjs = new Epochjs();

// Call start() to set (or reset) the start time.
// start() is called at the start of the script by default.
epochjs.start();

// ...add your javascript code here

// when ready to see the amount of time that has ellapsed call secElapsed()
console.log(epochjs.secElapsed() + ' time has ellapsed');

// or even simpler call log()
// the following will output to the console "5.11 database updated" where 
// 5.11 is the amount of time that has ellapsed since start().
epochjs.log('database updated');

Versions

Version
2.0.0