{"library":"http-reasons","type":"library","category":null,"description":"http-reasons is a minimalist JavaScript utility that provides a database to look up human-readable reason phrases for HTTP response status codes. The package is currently at version 0.1.0 and appears to be in a maintenance state, as there have been no significant updates or new releases from Postman Labs, its maintainer, for several years. Its primary function is a static data lookup, offering a simple mapping of numeric HTTP status codes to their corresponding standard reason phrases. Developers seeking more actively maintained alternatives with broader features like explicit ES module support, TypeScript definitions, and more comprehensive status code constants (e.g., `StatusCodes.OK`, `ReasonPhrases.OK`) should consider packages like `http-status-codes`, which offers a more robust and modern API.","language":"javascript","status":"maintenance","version":"0.1.0","tags":["javascript","postman","http-code","response-code","reason"],"last_verified":"Wed May 27","install":[{"cmd":"npm install http-reasons","imports":["import httpReasons from 'http-reasons';","const httpReasons = require('http-reasons');\nconst reason = httpReasons[200];","import type { ReasonsMap } from 'http-reasons/types'; // (Assuming custom type declaration)"]},{"cmd":"yarn add http-reasons","imports":[]},{"cmd":"pnpm add http-reasons","imports":[]}],"homepage":null,"github":"https://github.com/postmanlabs/http-reasons","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/http-reasons","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-reasons/compatibility"}}