{"library":"statuses","type":"library","category":null,"description":"The `statuses` package provides a comprehensive utility for working with HTTP status codes and messages in Node.js environments. It consolidates status information from official sources like the IANA Status Code Registry, as well as common implementations from the Node.js, NGINX, and Apache HTTP Server projects. Currently at stable version 2.0.2, the library maintains a steady release cadence focused on stability, minor updates, and continuous integration improvements rather than frequent feature additions, reflecting its role as a mature, low-level building block. Its key differentiator lies in its comprehensive data source aggregation and direct mapping capabilities, allowing developers to easily convert between numeric codes and descriptive messages, and access properties like whether a status indicates an empty body, a redirect, or a retryable condition. Unlike some HTTP utilities, `statuses` will throw an error for unknown codes or messages, ensuring strict adherence to recognized HTTP semantics.","language":"javascript","status":"active","version":"2.0.2","tags":["javascript","http","status","code"],"install":[{"cmd":"npm install statuses","imports":["const status = require('statuses');","const status = require('statuses');\nconst allCodes = status.codes;","const status = require('statuses');\nconst msg = status.message[404];"]},{"cmd":"yarn add statuses","imports":[]},{"cmd":"pnpm add statuses","imports":[]}],"homepage":null,"github":"https://github.com/jshttp/statuses","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/statuses","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/statuses/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}