{"library":"http-response-status","type":"library","category":null,"description":"This package provides a comprehensive, TypeScript-first solution for working with HTTP status codes in JavaScript and Node.js applications. It offers a structured approach to access HTTP status code constants, retrieve human-readable names, and categorize codes into their respective classes (e.g., informational, success, client error, server error). The current stable version is 1.1.3, released in December 2022. While its release cadence has been infrequent, focusing primarily on bug fixes and minor dependency updates, the library remains a reliable choice for static HTTP status code mapping. Key differentiators include its robust TypeScript typings, which ensure compile-time safety and better developer experience, and its utility functions that simplify common operations like checking status categories, providing an abstract layer over raw numerical comparisons. It serves as a lightweight and focused alternative to manually managing HTTP status code logic.","language":"javascript","status":"active","version":"1.1.3","tags":["javascript","http","typescript","code","response","status"],"last_verified":"Wed May 27","install":[{"cmd":"npm install http-response-status","imports":["import { NHttpStatuses } from 'http-response-status'","import { getHttpStatusName } from 'http-response-status'","import { getHttpStatusCategory } from 'http-response-status'","import { HTTP_STATUS_SUCCESS } from 'http-response-status'"]},{"cmd":"yarn add http-response-status","imports":[]},{"cmd":"pnpm add http-response-status","imports":[]}],"homepage":null,"github":"https://github.com/arnaud-zg/http-response-status","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/http-response-status","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-status/compatibility"}}