{"library":"http-status-ts","type":"library","category":null,"description":"http-status-ts is a lightweight, isomorphic utility library designed for convenient access to standard HTTP status codes within TypeScript projects. It provides a comprehensive list of HTTP status codes as a TypeScript enum (`HttpStatus`) and a helper function (`httpStatusTextByCode`) to retrieve the corresponding human-readable text description. Currently stable at version 2.0.1, the library maintains a steady cadence of releases focused on stability and minor enhancements. Its primary differentiation lies in its explicit TypeScript-first design, providing strong type safety out-of-the-box for both Node.js and browser environments, unlike some plain JavaScript alternatives that may require manual type definitions.","language":"javascript","status":"active","version":"2.0.1","tags":["javascript","http","status","codes","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install http-status-ts","imports":["import { HttpStatus } from 'http-status-ts';","import { httpStatusTextByCode } from 'http-status-ts';","import * as HttpStatusModule from 'http-status-ts';"]},{"cmd":"yarn add http-status-ts","imports":[]},{"cmd":"pnpm add http-status-ts","imports":[]}],"homepage":null,"github":"https://github.com/rmuchall/http-status-ts","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/http-status-ts","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-ts/compatibility"}}