An open API service indexing awesome lists of open source software.

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

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