at3

0.1.1 • Public • Published

at3

Run something at a specific time.

Install

npm i at3

Usage

Callback style

const at = require("at3")
at(new Date("2023-01-01T00:00:00"), () => console.log("🎉"))

Promise style

const at = require("at3")
at(new Date("2023-01-01T00:00:00")).then(() => console.log("🎉"))

or

const at = require("at3")
await at(new Date("2023-01-01T00:00:00"))
console.log("🎉")

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.1
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.1
    2
  • 0.1.0
    1

Package Sidebar

Install

npm i at3

Weekly Downloads

3

Version

0.1.1

License

MIT

Unpacked Size

3.62 kB

Total Files

6

Last publish

Collaborators

  • alexloehr