Package Exports
- at-node
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (at-node) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
at-node
schedule a cancellable function to run once
Installation
$ npm i --save at-nodeUsage
const at = require('at-node');
// schedule function to be run at a specified datetime and bind cancelation function to variable
const cancelHi = at('January 1, 2020', () => {
console.log('hi');
});
// cancel the scheduled function
cancelHi();