{"library":"http-response-kit","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"1.1.0","tags":["javascript","http","error","response","api","rest","status-code","express","nodejs","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install http-response-kit","imports":["import { HttpError } from 'http-response-kit';","import { HttpResponse } from 'http-response-kit';","import { configure } from 'http-response-kit';","throw HttpError.notFound('Resource not found');"]},{"cmd":"yarn add http-response-kit","imports":[]},{"cmd":"pnpm add http-response-kit","imports":[]}],"homepage":null,"github":"https://github.com/matteo-teodori/http-response-kit","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/http-response-kit","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/http-response-kit/compatibility"}}