UNPKG

express-post-task-scheduler

Version:

A lightweight npm package to create and manage scheduled tasks using Express middleware. Configure tasks via POST requests and execute them at specified times seamlessly.

10 lines (9 loc) 291 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.IRoutes = void 0; var IRoutes; (function (IRoutes) { IRoutes["task"] = "/task"; IRoutes["task_id"] = "/task/:id"; IRoutes["record"] = "/record"; })(IRoutes || (exports.IRoutes = IRoutes = {}));