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) 278 B
import { Dayjs } from "dayjs"; export type ITimeConvertorReturnType = { isValid: boolean; error?: string; dayjsObject: Dayjs | undefined; formattedTime: string | undefined; }; export type IDataValidatorReturnType = { isValid: boolean; error?: string; };