set-interval
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "set-interval", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "start and clear interval without setting a variable", | ||
@@ -5,0 +5,0 @@ "main": "./src/SetInterval.js", |
@@ -1,3 +0,3 @@ | ||
# SetIntervalJS # | ||
[](https://opensource.org/licenses/MIT) [](https://www.npmjs.com/package/set-interval) | ||
# 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://www.npmjs.com/package/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. |
4471