1.0.0 • Published 10 years ago
new-interval v1.0.0
new-interval
A real Interval object
Getting Started
Install the module with: npm install new-interval
// Only for Node.
var Interval = require('new-interval').Interval;
var interval = new Interval(3000, function(){
doSomethingAwsome();
});
interval.start();
interval.clear();
// or the same can be acomplished by
var interval = Interval.set(3000, function(){
doSomethingAwsome();
});
interval.clear();
Remember that Lo-Dash or Underscore are required to load before using Intervals!
Documentation
(Coming soon)
Examples
(Coming soon)
Contributing
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality.
License
Copyright (c) 2014 Alan Szpigiel
Licensed under the MIT license.
1.0.0
10 years ago