node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

fd-interval

fd-interval

Build Status npm version

window.setInterval FP-style

Installation

npm install fd-interval --save

Usage

var interval = require('fd-interval');
 
var every2s = interval(2000);
 
every2s(function() {
  alert('FP rocks');
});