Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 518 Bytes

README.md

File metadata and controls

35 lines (22 loc) · 518 Bytes

run-at

NPM

execute function "at" a certain time. merely a human-readable setTimeout wrapper.

uses date for human-friendly date parsing.

Installation

npm install run-at

Usage

var at = require('run-at')

Examples

at('5:30 am', fn)
at('2 days from now', fn)
at('noon today', fn)
at('2 pm tuesday', fn)

License

MIT