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.

12 lines (11 loc) 382 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.SETTINGS = void 0; const path_1 = __importDefault(require("path")); const basePath = path_1.default.dirname(__dirname); exports.SETTINGS = { basePath, };