UNPKG

api-stds

Version:

Standardized API response and error handling toolkit with async handler, requestId, logging, and configurable formats.

3 lines (2 loc) 175 B
import { Request, Response, NextFunction } from "express"; export declare function standardize(customConfig?: any): (req: Request, res: Response, next: NextFunction) => void;