0.0.5 • Published 11 years ago

every.js v0.0.5

Weekly downloads
21
License
-
Repository
-
Last release
11 years ago

every

human-friendly intervals. uses matthewmueller/date for human-friendly date parsing.

Installation

With node.js:

npm install every.js

With component:

component install matthewmueller/every

Examples

every('5 seconds', fn);
every('10 minutes', fn);
every('5 hours', fn);
every('monday at 5pm', fn);

API

every(time, fn)

Call fn every time.

Optionally, you may use pass function(done) { ... } for asynchronous jobs

License

MIT

0.0.5

11 years ago

0.0.4

11 years ago

0.0.3

11 years ago

0.0.2

11 years ago

0.0.1

11 years ago