https://github.com/timbroddin/node-runinterval
Just like setInterval, except the callback gets called immediately
https://github.com/timbroddin/node-runinterval
Last synced: 9 months ago
JSON representation
Just like setInterval, except the callback gets called immediately
- Host: GitHub
- URL: https://github.com/timbroddin/node-runinterval
- Owner: TimBroddin
- Created: 2014-08-19T10:16:23.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2014-08-19T11:25:35.000Z (almost 12 years ago)
- Last Synced: 2025-09-12T04:01:06.815Z (10 months ago)
- Language: JavaScript
- Size: 105 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
runInterval
=========
The most stupid NPM-package ever. It's like setInterval, only it will fire your function straight away.
## Installation
npm install runinterval --save
## Usage
var runInterval = require('runinterval');
var interval = runInterval(function() {
console.log('Hello world!');
}, 1000);
clearInterval(interval);
## Release History
* 0.1.0 Initial release