1.0.0 • Published 10 years ago

new-interval v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
10 years ago

new-interval Build Status

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.