{"id":20333125,"url":"https://github.com/jaebradley/http-status-identifier-cli","last_synced_at":"2025-04-11T21:33:09.117Z","repository":{"id":19728497,"uuid":"87742552","full_name":"jaebradley/http-status-identifier-cli","owner":"jaebradley","description":"🔍 What's my HTTP status...without leaving the command line","archived":false,"fork":false,"pushed_at":"2023-01-03T15:15:25.000Z","size":1562,"stargazers_count":23,"open_issues_count":15,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-15T00:00:01.906Z","etag":null,"topics":["cli","http","npm","npm-package"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/http-status-identifier-cli","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jaebradley.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-04-09T22:11:11.000Z","updated_at":"2023-11-03T00:23:06.000Z","dependencies_parsed_at":"2023-01-11T20:34:47.682Z","dependency_job_id":null,"html_url":"https://github.com/jaebradley/http-status-identifier-cli","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaebradley%2Fhttp-status-identifier-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaebradley%2Fhttp-status-identifier-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaebradley%2Fhttp-status-identifier-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaebradley%2Fhttp-status-identifier-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jaebradley","download_url":"https://codeload.github.com/jaebradley/http-status-identifier-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248483384,"owners_count":21111438,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","http","npm","npm-package"],"created_at":"2024-11-14T20:29:26.260Z","updated_at":"2025-04-11T21:33:09.077Z","avatar_url":"https://github.com/jaebradley.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HTTP Status Identifier CLI\n\n![HTTP Status Identifier CLI](https://github.com/jaebradley/http-status-identifier-cli/workflows/HTTP%20Status%20Identifier%20CLI/badge.svg)\n[![npm](https://img.shields.io/npm/dt/http-status-identifier-cli.svg)](https://www.npmjs.com/package/http-status-identifier-cli)\n[![npm version](https://badge.fury.io/js/http-status-identifier-cli.svg)](https://badge.fury.io/js/http-status-identifier-cli)\n\n[![NPM](https://nodei.co/npm/http-status-identifier-cli.png?downloads=true\u0026downloadRank=true\u0026stars=true)](https://nodei.co/npm/http-status-identifier-cli/)\n\n* [Purpose](https://github.com/jaebradley/http-status-identifier-cli#purpose)\n* [Installation](https://github.com/jaebradley/http-status-identifier-cli#installation)\n* [Usage](https://github.com/jaebradley/http-status-identifier-cli#usage)\n  * [Examples](https://github.com/jaebradley/http-status-identifier-cli#examples)\n    * [Get the HTTP Status for HTTP Status Code `200`](https://github.com/jaebradley/http-status-identifier-cli#get-the-http-status-for-http-status-code-200)\n    * [Get the HTTP Status for HTTP Status Name `I'm a teapot`](https://github.com/jaebradley/http-status-identifier-cli#get-the-http-status-for-http-status-name-im-a-teapot)\n    * [Get the HTTP Status with additional information](https://github.com/jaebradley/http-status-identifier-cli#get-the-http-status-with-additional-information)\n    * [Get the HTTP Statuses for HTTP Status Codes `100`, `200`, `300`, `400`, and `500`](https://github.com/jaebradley/http-status-identifier-cli#get-the-http-statuses-for-http-status-codes-100-200-300-400-and-500)\n    * [Get the HTTP Statuses for a combination of HTTP Status Codes (`100`, `200`) and HTTP Status Names (`I'm a teapot`, `Bad Request`)](https://github.com/jaebradley/http-status-identifier-cli#get-the-http-statuses-for-a-combination-of-http-status-codes-100-200-and-http-status-names-im-a-teapot-bad-request)\n    * [Get the HTTP Status for `200` and open the documentation page in the default browser](https://github.com/jaebradley/http-status-identifier-cli#get-the-http-status-for-200-and-open-the-documentation-page-in-the-default-browser)\n\n### Purpose\n\nA command line interface to identify HTTP statuses from status codes (i.e. `200`) or status names (i.e. `I'm a teapot`).\n\n### Installation\n\nInstall via [NPM](https://www.npmjs.com/package/http-status-identifier-cli) (the `-g` flag will install the package globally):\n\n```bash\nnpm install http-status-identifier-cli -g\n```\n\n### Usage\n\nThe command to identify HTTP statuses is `hs`.\n\nIt expects a list of HTTP status codes or HTTP status names. It will return a table containing the HTTP status names, HTTP status codes, and the meaning of the specified HTTP statuses.\n\nIf the `-f` (or `--fullDescription`) flag is included, an additional supplementary information field is included that provides even more information into the HTTP status. Sometimes, this field is empty if there is no additional information.\n\nIf the `-d` of (`--documentation`) flag is included, your default browser will open the documentation pages for each of the specified HTTP statuses.\n\nThe `-h` (or `--help`) flag is useful if you ever need help.\n\n#### Examples\n\n##### Get the HTTP Status for HTTP Status Code `200`\n\n```bash\nhs 200\n```\n\n![alt-text](http://i.imgur.com/oGp1DmO.png)\n\n##### Get the HTTP Status for HTTP Status Name `I'm a teapot`\n\n```bash\nhs \"I'm a teapot\"\n```\n\n![alt-text](http://imgur.com/OvW3puw.png)\n\n##### Get the HTTP Status with additional information\n\n```bash\nhs 200 -f\n```\n\n![alt-text](http://imgur.com/NQLgt8Q.png)\n\n##### Get the HTTP Statuses for HTTP Status Codes `100`, `200`, `300`, `400`, and `500`\n\n```bash\nhs 100 200 300 400 500\n```\n\n![alt-text](http://imgur.com/nz9mqED.png)\n\n##### Get the HTTP Statuses for a combination of HTTP Status Codes (`100`, `200`) and HTTP Status Names (`I'm a teapot`, `Bad Request`)\n\n```bash\nhs 100 \"I'm a teapot\" 200 \"Bad request\"\n```\n\n![alt-text](http://imgur.com/T343ywr.png)\n\n##### Get the HTTP Status for `200` and open the documentation page in the default browser\n\n```bash\nhs 200 -d\n```\n\n![alt-text](http://g.recordit.co/e1QvGJZSJ4.gif)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaebradley%2Fhttp-status-identifier-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjaebradley%2Fhttp-status-identifier-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaebradley%2Fhttp-status-identifier-cli/lists"}