{"library":"http-constants","type":"library","category":null,"description":"The `http-constants` package provides a centralized collection of standard HTTP constant values, including status codes, common header names, and method verbs. It aims to offer a consistent and readily available source for these values, preventing 'magic string' issues and enhancing code readability and maintainability in Node.js and browser environments. The package is currently stable at version 2.2.0 (as of its 'Monstrous Agenda' release) and appears to follow an as-needed release cadence rather than a strict schedule, with new versions addressing community requests like additional types. Key differentiators include its explicit support for both ES Modules via specific paths and CommonJS, alongside providing a comprehensive set of constants that might otherwise be scattered or inconsistently defined across different libraries or codebases.","language":"javascript","status":"active","version":"2.1.0-19-gdd89f31","tags":["javascript","http","constants"],"last_verified":"Wed May 27","install":[{"cmd":"npm install http-constants","imports":["import * as httpConsts from 'http-constants/src/main/consts.js';","const http_const = require('http-constants');","import { HEADER_NAMES } from 'http-constants/src/main/consts.js';"]},{"cmd":"yarn add http-constants","imports":[]},{"cmd":"pnpm add http-constants","imports":[]}],"homepage":null,"github":"https://github.com/aetheric/http-constants","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/http-constants","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-constants/compatibility"}}