UNPKG

http-response-helper

Version:

HTTP-Response-Helper is a utility library for sending HTTP responses with the correct status code.

5 lines (4 loc) 105 B
export interface Response { status(code: number): this; json(data: Record<string, any>): void; }