set-interval
Advanced tools
Comparing version 1.0.4 to 1.0.5
{ | ||
"name": "set-interval", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "start and clear interval without setting a variable", | ||
@@ -5,0 +5,0 @@ "main": "./src/SetInterval.js", |
# SetIntervalJS [](https://twitter.com/intent/tweet?hashtags=javascript&original_referer=https%3A%2F%2Fpublish.twitter.com%2F&ref_src=twsrc%5Etfw&text=No%20more%20variable%20needed%20for%20clearInterval()%20%F0%9F%91%8C%F0%9F%98%80&tw_p=tweetbutton&url=https%3A%2F%2Fwww.npmjs.com%2Fpackage%2Fset-interval&via=shystrukk) # | ||
[](https://opensource.org/licenses/mit-license.php) [](https://badge.fury.io/js/set-interval) | ||
[](https://opensource.org/licenses/mit-license.php) [](https://github.com/shystruk/SetIntervalJS) [](https://badge.fury.io/js/set-interval) | ||
@@ -4,0 +4,0 @@ SetIntervalJS is a constructor which hide inside reference to setInterval() for cleaner usage. It helps to make your code cleaner and there is no need to have more variables for clearInterval() 👌. SetIntervalJS has two methods `start` and `clear`. `start` method calls a function at specified intervals (in milliseconds) and `clear` clear the interval. |
4576