9 packages
http-error-kit
A flexible and customizable error-handling library for HTTP applications. Provides structured error responses with optional formatters, predefined HTTP errors, and extensible error types.
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.
sms-send
This module is used to send sms using msg91 api.
@wthek/express-middleware
Express middleware for handling and formatting errors using http-error-kit. Ensures structured error responses with correct status codes.
@wthek/fastify-middleware
Fastify middleware for handling and formatting errors using http-error-kit. Ensures structured error responses with correct status codes.
@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.
@wthek/restify-middleware
Restify middleware for handling and formatting errors using http-error-kit. Ensures structured error responses with correct status codes.
@wthek/zod-express-interceptor
Express middleware interceptor that transforms Zod validation errors into http-error-kit formatted errors.
@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.