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("🎉")

Readme

Keywords

Package Sidebar

Install

npm i at3

Weekly Downloads

1

Version

0.1.1

License

MIT

Unpacked Size

3.62 kB

Total Files

6

Last publish

Collaborators

  • alexloehr