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.

6 lines (5 loc) 210 B
import { Request, Response, NextFunction } from "express"; /** * Validate the secret string from request header */ export declare function secretGuard(req: Request, _res: Response, next: NextFunction): void;