wizcorp-timer.js

Manipulate time and bend it to your will.

Usage no npm install needed!

<script type="module">
  import wizcorpTimerJs from 'https://cdn.skypack.dev/wizcorp-timer.js';
</script>

README

wizcorp-timer.js

Manipulate time and bend it to your will.

Methods

configure ( offset, accelerationFactor, startAt )

translate ( timestamp, msecOut )

now ( msecOut )

interval ( msecOrSec )

msec ( )

Returns the current timestamp in milliseconds.

sec ( )

Returns the current timestamp in seconds.

Properties

offset

accelerationFactor

startAt