{"library":"http-codex","type":"library","category":null,"description":"http-codex is a lightweight JavaScript/TypeScript library providing constants for standard HTTP status codes and methods, inspired by and closely mirroring the API of Go's `net/http` package. It is currently at version `0.6.6` and appears to be actively maintained, being part of a larger monorepo with recent updates to other packages. The library differentiates itself by its explicit goal to align with Go's `http` package conventions and its focus on bundle size, offering granular imports (e.g., `http-codex/status` or `http-codex/method`) to minimize the loaded code. It includes helper functions like `isNullBodyStatus` for common HTTP response handling patterns. While no strict release cadence is stated, its presence in an active monorepo suggests ongoing development and support.","language":"javascript","status":"active","version":"0.6.6","tags":["javascript","http status codes","http methods","http","status codes","methods","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install http-codex","imports":["import { httpStatus } from 'http-codex'","import { httpMethod } from 'http-codex/method'","import { isNullBodyStatus } from 'http-codex'"]},{"cmd":"yarn add http-codex","imports":[]},{"cmd":"pnpm add http-codex","imports":[]}],"homepage":null,"github":"https://github.com/jahands/workers-packages","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/http-codex","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-codex/compatibility"}}