0.2.3 • Published 9 years ago

at-node v0.2.3

Weekly downloads
149
License
MIT
Repository
github
Last release
9 years ago

At

A cancellable, scheduled function for node

Installation

npm i --save at-node

Usage

const at = require('at-node');

// schedule a function by passing in a date or a datestring
at(new Date('10/10/2018'), cb);
at('10/10/2018', cb);

// a function is returned that cancels the scheduled function
const cancelCb = at('January 1, 2018', cb);

// change your mind?
cancelCb();

Testing

npm test
0.2.3

9 years ago

0.2.2

9 years ago

0.2.1

9 years ago

0.2.0

9 years ago

0.1.0

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago