Skip to content

TimBroddin/node-runinterval

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

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

About

Just like setInterval, except the callback gets called immediately

Resources

Stars

0 stars

Watchers

1 watching

Forks

Packages

 
 
 

Contributors