JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2847
  • Score
    100M100P100Q104309F
  • License MIT

schedule a cancellable function to run once

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-node

Usage

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();