{"id":15042948,"url":"https://github.com/sindresorhus/node-status-codes","last_synced_at":"2025-05-01T09:17:15.535Z","repository":{"id":35476616,"uuid":"39745252","full_name":"sindresorhus/node-status-codes","owner":"sindresorhus","description":"Node.js `http.STATUS_CODES` ponyfill","archived":false,"fork":false,"pushed_at":"2023-10-30T15:53:13.000Z","size":6,"stargazers_count":34,"open_issues_count":0,"forks_count":2,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-04-19T20:12:06.736Z","etag":null,"topics":[],"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/sindresorhus.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":".github/security.md","support":null,"governance":null},"funding":{"github":"sindresorhus","open_collective":"sindresorhus","custom":"https://sindresorhus.com/donate"}},"created_at":"2015-07-26T22:55:43.000Z","updated_at":"2025-01-07T20:11:12.000Z","dependencies_parsed_at":"2023-12-02T09:41:41.093Z","dependency_job_id":null,"html_url":"https://github.com/sindresorhus/node-status-codes","commit_stats":{"total_commits":11,"total_committers":1,"mean_commits":11.0,"dds":0.0,"last_synced_commit":"f941c3339556f2c2f7021760105e9ec497ca53e2"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fnode-status-codes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fnode-status-codes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fnode-status-codes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fnode-status-codes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sindresorhus","download_url":"https://codeload.github.com/sindresorhus/node-status-codes/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250554338,"owners_count":21449589,"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":[],"created_at":"2024-09-24T20:48:21.937Z","updated_at":"2025-05-01T09:17:15.509Z","avatar_url":"https://github.com/sindresorhus.png","language":"JavaScript","readme":"# Deprecated\n\nThis package is no longer relevant. The `http.STATUS_CODES` property is stable now.\n\n---\n\n# node-status-codes [![Build Status](https://travis-ci.org/sindresorhus/node-status-codes.svg?branch=master)](https://travis-ci.org/sindresorhus/node-status-codes)\n\n\u003e Node.js [`http.STATUS_CODES`](https://nodejs.org/api/http.html#http_http_status_codes) [ponyfill](https://ponyfill.com)\n\nThe built-in list of HTTP status codes [differ](https://github.com/nodejs/node/commit/8be6060020) between Node.js versions, so this is a good way to make sure it's consistent. Will be kept up to date with latest Node.js.\n\n\n## Install\n\n```\n$ npm install --save node-status-codes\n```\n\n\n## Usage\n\n```js\nvar nodeStatusCodes = require('node-status-codes');\n\nconsole.log(nodeStatusCodes[200]);\n//=\u003e 'OK'\n\nconsole.log(nodeStatusCodes[500]);\n//=\u003e 'Internal Server Error'\n```\n\n\n## License\n\nMIT © [Sindre Sorhus](http://sindresorhus.com)\n","funding_links":["https://github.com/sponsors/sindresorhus","https://opencollective.com/sindresorhus","https://sindresorhus.com/donate"],"categories":["Packages","Number"],"sub_categories":["Polyfills Node.js","Polyfills"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsindresorhus%2Fnode-status-codes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsindresorhus%2Fnode-status-codes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsindresorhus%2Fnode-status-codes/lists"}