HTTP Response and Error Formatting for Node.js

JSON →
library 1.1.0 ·javascript
verified May 27, 2026

http-response-kit is a TypeScript-first library designed for standardizing HTTP error and success responses in Node.js applications, particularly useful for RESTful APIs. It provides a comprehensive set of HTTP status codes (1xx-5xx) and convenient factory methods like `HttpError.notFound()` and `HttpResponse.ok()`. Key differentiators include full type safety, zero external dependencies, global and instance-level customization options, and support for both ESM and CommonJS module systems. Currently at version 1.1.0, the package aims for stability and consistency in API response formatting, abstracting away much of the boilerplate associated with handling HTTP statuses and response bodies.

total hits 16
actors 8 distinct systems
last hit 3d ago human
MetaBot
4
GPTBot
2
Script
1
Search engines
2
Humans
1

top countries 🇺🇸 United States · 🇫🇷 France · 🇨🇦 Canada · 🇩🇪 Germany