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) 235 B
import { Request, Response, NextFunction } from "express"; /** * Standardize the response format, it should be used with IExtendResponse */ export declare function jsonResponse(req: Request, res: Response, next: NextFunction): void;