{"id":19460392,"url":"https://github.com/bjarneo/http-status-cli","last_synced_at":"2025-04-25T07:33:03.936Z","repository":{"id":57268366,"uuid":"46614680","full_name":"bjarneo/http-status-cli","owner":"bjarneo","description":"HTTP Status code message CLI lookup","archived":false,"fork":false,"pushed_at":"2016-09-14T19:25:12.000Z","size":25,"stargazers_count":10,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-31T11:05:07.905Z","etag":null,"topics":["http-status-code"],"latest_commit_sha":null,"homepage":null,"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/bjarneo.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":"2015-11-21T12:37:10.000Z","updated_at":"2018-08-03T19:04:43.000Z","dependencies_parsed_at":"2022-09-02T02:50:18.043Z","dependency_job_id":null,"html_url":"https://github.com/bjarneo/http-status-cli","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjarneo%2Fhttp-status-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjarneo%2Fhttp-status-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjarneo%2Fhttp-status-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjarneo%2Fhttp-status-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bjarneo","download_url":"https://codeload.github.com/bjarneo/http-status-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223989812,"owners_count":17237158,"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":["http-status-code"],"created_at":"2024-11-10T17:36:52.889Z","updated_at":"2024-11-10T17:36:53.526Z","avatar_url":"https://github.com/bjarneo.png","language":"JavaScript","readme":"http-status-cli\n======\n\nWhy\n------\nI always forget what some status codes are and what they do—therefore I find this tool handy to do a quick lookup.\n\nInstallation\n------\n```\nnpm install -g http-status-cli\n```\n\nor\n\n```\nnpm install --save http-status-cli\n```\n\nFeatures\n------\n* HTTP Status code message CLI lookup\n* Use it as a module in your project\n\nUsage\n------\n![http-status-418](http://i.imgur.com/wNvqpBV.jpg)\n\nor\n\n```js\nvar httpStatus = require('http-status-cli');\n\nhttpStatus(418, function(err, msg, desc) {\n    if (err) {\n        console.log(err);\n    }\n\n    console.log(msg, desc);\n});\n\n// Output:\nI'm a teapot\nThis code was defined in 1998 as one of the traditional IETF April Fools' jokes, in RFC 2324, \nHyper Text Coffee Pot Control Protocol, and is not expected to be implemented by actual HTTP servers. \nThe RFC specifies this code should be returned by tea pots requested to brew coffee. This HTTP \nstatus is used as an easter egg in some websites, including Google.com.\n```\n\nTests\n------\n```\nnpm test\n```\n\nSources\n------\n* [https://www.addedbytes.com/articles/for-beginners/http-status-codes/](https://www.addedbytes.com/articles/for-beginners/http-status-codes/)\n* [https://en.wikipedia.org/wiki/List_of_HTTP_status_codes](https://en.wikipedia.org/wiki/List_of_HTTP_status_codes)\n\nContribution\n------\nContributions are appreciated.\n\nLicense\n------\nMIT-licensed. See LICENSE.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbjarneo%2Fhttp-status-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbjarneo%2Fhttp-status-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbjarneo%2Fhttp-status-cli/lists"}