{"library":"http-status-enum","type":"library","category":null,"description":"http-status-enum is a lightweight JavaScript/TypeScript library designed to provide a comprehensive, read-only enumeration of standard HTTP status codes. It offers a convenient dual-access mechanism, allowing developers to retrieve status descriptions from numeric codes (e.g., `500` yields `INTERNAL_SERVER_ERROR`) and vice-versa. The package is currently stable at version 1.0.2, with a slow, maintenance-focused release cadence primarily addressing module resolution and type definition correctness. Its key differentiators include its minimal footprint, explicit TypeScript type definitions for enhanced developer experience and type safety, and its straightforward API for consistent access to HTTP status information without external dependencies or complex configurations, making it a reliable choice for various application contexts.","language":"javascript","status":"active","version":"1.0.2","tags":["javascript","http","status","codes","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install http-status-enum","imports":["import HTTP_STATUS_CODES from 'http-status-enum';","const HTTP_STATUS_CODES = require('http-status-enum').default;","type HttpStatusCodeMap = typeof HTTP_STATUS_CODES;"]},{"cmd":"yarn add http-status-enum","imports":[]},{"cmd":"pnpm add http-status-enum","imports":[]}],"homepage":null,"github":"https://github.com/KyleNeedham/http-status-enum","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/http-status-enum","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-status-enum/compatibility"}}