{"id":13459477,"url":"https://github.com/muhammad-usman-108/http-status-descriptions","last_synced_at":"2025-03-24T17:33:02.209Z","repository":{"id":242393416,"uuid":"809425500","full_name":"muhammad-usman-108/http-status-descriptions","owner":"muhammad-usman-108","description":"A npm package that provides human-readable descriptions for HTTP status codes.","archived":false,"fork":false,"pushed_at":"2024-06-03T08:48:05.000Z","size":17,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-08-09T09:28:32.218Z","etag":null,"topics":["api","api-response","description","developer-tools","error","http","http-response","http-status-code","human-readable","status-code"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/http-status-descriptions","language":"TypeScript","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/muhammad-usman-108.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/funding.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"buy_me_a_coffee":"engrmuhammk"}},"created_at":"2024-06-02T16:48:17.000Z","updated_at":"2024-06-03T09:01:21.000Z","dependencies_parsed_at":"2024-06-02T19:23:25.812Z","dependency_job_id":"89fa7301-9b94-449b-a487-51721e3b88e4","html_url":"https://github.com/muhammad-usman-108/http-status-descriptions","commit_stats":null,"previous_names":["muhammad-usman-108/http-status-descriptions"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muhammad-usman-108%2Fhttp-status-descriptions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muhammad-usman-108%2Fhttp-status-descriptions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muhammad-usman-108%2Fhttp-status-descriptions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muhammad-usman-108%2Fhttp-status-descriptions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/muhammad-usman-108","download_url":"https://codeload.github.com/muhammad-usman-108/http-status-descriptions/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221995686,"owners_count":16913539,"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":["api","api-response","description","developer-tools","error","http","http-response","http-status-code","human-readable","status-code"],"created_at":"2024-07-31T10:00:17.795Z","updated_at":"2024-10-29T05:31:01.181Z","avatar_url":"https://github.com/muhammad-usman-108.png","language":"TypeScript","funding_links":["https://buymeacoffee.com/engrmuhammk"],"categories":["HTTP Status Code"],"sub_categories":[],"readme":"# http-status-descriptions\n\n[![npm version](https://badge.fury.io/js/http-status-descriptions.svg)](https://badge.fury.io/js/http-status-descriptions) [![created by](https://img.shields.io/badge/created%20by-M.%20Usman-blue.svg?longCache=true\u0026style=flat-square)](https://github.com/muhammad-usman-108) [![star](https://img.shields.io/github/stars/muhammad-usman-108/http-status-descriptions.svg?style=flat-square)](https://github.com/muhammad-usman-108/http-status-descriptions/stargazers) ![size](https://img.shields.io/github/size/muhammad-usman-108/buymeacoffee.js/dist/main.js?color=green\u0026style=flat-square) ![npm downloads](https://img.shields.io/npm/d18m/http-status-descriptions.svg?color=red\u0026style=flat-square) [![license](https://img.shields.io/github/license/muhammad-usman-108/http-status-descriptions.svg?style=flat-square)](https://github.com/muhammad-usman-108/http-status-descriptions/blob/main/LICENSE)\n\nA npm package that provides human-readable descriptions for HTTP status codes.\n\n## Installation\n\nYou can install this package using npm or yarn.\n\n### npm\n\n```npm i http-status-descriptions```\n\n### yarn\n\n```yarn add http-status-descriptions```\n\n## Usage\n\nHere is a simple example to get you started:\n\n```typescript\n\nimport { getStatusDescription } from 'http-status-descriptions';\n\nconst description = getStatusDescription(200);\nconsole.log(description); \n// Output: OK: The request was successful.\n\n```\n\n## Scripts\n\n### Build\n\nTo compile the TypeScript files to JavaScript, run:\n\n```npm run build```\n\n### Test\n\nTo run tests, use:\n\n```npm run test```\n\n## Configuration\n\n### TypeScript Configuration\n\nThis package uses a `tsconfig.json` file for TypeScript configuration. Here is an example:\n\n```\n{\n  \"compilerOptions\": {\n    \"target\": \"ES6\",\n    \"module\": \"commonjs\",\n    \"strict\": true,\n    \"esModuleInterop\": true,\n    \"skipLibCheck\": true,\n    \"forceConsistentCasingInFileNames\": true,\n    \"outDir\": \"./dist\"\n  },\n}\n```\n\n## Contributing\n\n- [Muhammad Usman](https://github.com/muhammad-usman-108)\n\n## Support\n\n\u003cp\u003e\u003ca href=\"https://buymeacoffee.com/engrmuhammk\"\u003e \u003cimg align=\"left\" src=\"https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png\" height=\"50\" width=\"210\" alt=\"engrmuhammk\" /\u003e\u003c/a\u003e\u003c/p\u003e\u003cbr\u003e\u003cbr\u003e \n\n## LICENSE\n\nThis project is licensed under the MIT License - see the [LICENSE](https://github.com/muhammad-usman-108/http-status-descriptions/blob/main/LICENSE) file for details.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuhammad-usman-108%2Fhttp-status-descriptions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmuhammad-usman-108%2Fhttp-status-descriptions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuhammad-usman-108%2Fhttp-status-descriptions/lists"}