http-response-status-code

A lightweight utility for retrieving HTTP status codes, names, and descriptions. Easily validate, categorize, and manage HTTP responses with built-in methods for informational, success, redirection, client, and server error codes.

@wthek/express-middleware

Express middleware for handling and formatting errors using http-error-kit. Ensures structured error responses with correct status codes.

@wthek/zod-transformer

Framework-agnostic utility that transforms Zod validation errors into structured http-error-kit errors. Preserves issue details and integrates cleanly with custom formatters.

@wthek/nestjs-middleware

NestJS middleware for handling and formatting errors using http-error-kit. Automatically detects and supports both Express and Fastify-based NestJS apps to ensure structured error responses with correct HTTP status codes.