1.0.2 • Published 3 years ago

roundinterval v1.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
3 years ago

roundinterval

A simple package to help you run round intervals

How to install:

npm install roundinterval

Github repository: github.com/ubarilan/roundinterval

Example of usage:

import roundinterval from 'roundinterval';

roundinterval.startRoundTimer({
    //Here we set the interval time
    seconds: 10,
    /*
    minutes: x,
    hours: x
    */
    },() => {
        console.log("I am synchronized to run every round 10 seconds!", new Date())
}, true /* determines whether the will run when the minutes in a time is 10 or every round 10 seconds.
Example: 30, 40, 50, 0, 10, etc.
*/)
1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago