{"id":18840018,"url":"https://github.com/alexsasharegan/http-status","last_synced_at":"2025-04-14T07:06:05.382Z","repository":{"id":57096499,"uuid":"93088304","full_name":"alexsasharegan/http-status","owner":"alexsasharegan","description":"HTTP Status codes as constants and a lookup map (ESM)","archived":false,"fork":false,"pushed_at":"2017-06-01T18:50:22.000Z","size":5,"stargazers_count":11,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-14T07:03:16.591Z","etag":null,"topics":["es2015","es6","esm","harmony","http","http-requests","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alexsasharegan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-06-01T18:38:41.000Z","updated_at":"2023-05-07T11:56:17.000Z","dependencies_parsed_at":"2022-08-22T23:00:27.190Z","dependency_job_id":null,"html_url":"https://github.com/alexsasharegan/http-status","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/alexsasharegan%2Fhttp-status","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexsasharegan%2Fhttp-status/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexsasharegan%2Fhttp-status/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexsasharegan%2Fhttp-status/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alexsasharegan","download_url":"https://codeload.github.com/alexsasharegan/http-status/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248837280,"owners_count":21169374,"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":["es2015","es6","esm","harmony","http","http-requests","http-status-code"],"created_at":"2024-11-08T02:44:45.717Z","updated_at":"2025-04-14T07:06:05.100Z","avatar_url":"https://github.com/alexsasharegan.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# http-status\nA simple module for declarative http statuses. Raw ES2015, so BYOB (Build Your Own Bundle)\n\n```js\nexport const CONTINUE = 100\nexport const SWITCHING_PROTOCOLS = 101\nexport const OK = 200\nexport const CREATED = 201\nexport const ACCEPTED = 202\nexport const NON_AUTHORITATIVE_INFORMATION = 203\nexport const NO_CONTENT = 204\nexport const RESET_CONTENT = 205\nexport const PARTIAL_CONTENT = 206\nexport const MULTI_STATUS = 207\nexport const ALREADY_REPORTED = 208\nexport const IM_USED = 226\nexport const MULTIPLE_CHOICES = 300\nexport const MOVED_PERMANENTLY = 301\nexport const FOUND = 302\nexport const SEE_OTHER = 303\nexport const NOT_MODIFIED = 304\nexport const USE_PROXY = 305\nexport const SWITCH_PROXY = 306\nexport const TEMPORARY_REDIRECT = 307\nexport const PERMANENT_REDIRECT = 308\nexport const BAD_REQUEST = 400\nexport const UNAUTHORIZED = 401\nexport const PAYMENT_REQUIRED = 402\nexport const FORBIDDEN = 403\nexport const NOT_FOUND = 404\nexport const METHOD_NOT_ALLOWED = 405\nexport const NOT_ACCEPTABLE = 406\nexport const PROXY_AUTHENTICATION_REQUIRED = 407\nexport const REQUEST_TIMEOUT = 408\nexport const CONFLICT = 409\nexport const GONE = 410\nexport const LENGTH_REQUIRED = 411\nexport const PRECONDITION_FAILED = 412\nexport const REQUEST_ENTITY_TOO_LARGE = 413\nexport const REQUEST_URI_TOO_LONG = 414\nexport const UNSUPPORTED_MEDIA_TYPE = 415\nexport const REQUESTED_RANGE_NOT_SATISFIABLE = 416\nexport const EXPECTATION_FAILED = 417\nexport const IM_A_TEAPOT = 418\nexport const MISDIRECTED_REQUEST = 421\nexport const UNPROCESSABLE_ENTITY = 422\nexport const UPGRADE_REQUIRED = 426\nexport const PRECONDITION_REQUIRED = 428\nexport const LOCKED = 423\nexport const FAILED_DEPENDENCY = 424\nexport const TOO_MANY_REQUESTS = 429\nexport const REQUEST_HEADER_FIELDS_TOO_LARGE = 431\nexport const UNAVAILABLE_FOR_LEGAL_REASONS = 451\nexport const INTERNAL_SERVER_ERROR = 500\nexport const NOT_IMPLEMENTED = 501\nexport const BAD_GATEWAY = 502\nexport const SERVICE_UNAVAILABLE = 503\nexport const GATEWAY_TIMEOUT = 504\nexport const HTTP_VERSION_NOT_SUPPORTED = 505\nexport const VARIANT_ALSO_NEGOTIATES = 506\nexport const INSUFFICIENT_STORAGE = 507\nexport const LOOP_DETECTED = 508\nexport const NOT_EXTENDED = 510\nexport const NETWORK_AUTHENTICATION_REQUIRED = 511\n\nexport const STATUS_MAP = {\n    [CONTINUE]: 'Continue',\n    [SWITCHING_PROTOCOLS]: 'Switching Protocols',\n    [OK]: 'OK',\n    [CREATED]: 'Created',\n    [ACCEPTED]: 'Accepted',\n    [NON_AUTHORITATIVE_INFORMATION]: 'Non-Authoritative Information',\n    [NO_CONTENT]: 'No Content',\n    [RESET_CONTENT]: 'Reset Content',\n    [PARTIAL_CONTENT]: 'Partial Content',\n    [MULTI_STATUS]: 'Multi Status',\n    [ALREADY_REPORTED]: 'Already Reported',\n    [IM_USED]: 'IM Used',\n    [MULTIPLE_CHOICES]: 'Multiple Choices',\n    [MOVED_PERMANENTLY]: 'Moved Permanently',\n    [FOUND]: 'Found',\n    [SEE_OTHER]: 'See Other',\n    [NOT_MODIFIED]: 'Not Modified',\n    [USE_PROXY]: 'Use Proxy',\n    [SWITCH_PROXY]: 'Switch Proxy',\n    [TEMPORARY_REDIRECT]: 'Temporary Redirect',\n    [PERMANENT_REDIRECT]: 'Permanent Redirect',\n    [BAD_REQUEST]: 'Bad Request',\n    [UNAUTHORIZED]: 'Unauthorized',\n    [PAYMENT_REQUIRED]: 'Payment Required',\n    [FORBIDDEN]: 'Forbidden',\n    [NOT_FOUND]: 'Not Found',\n    [METHOD_NOT_ALLOWED]: 'Method Not Allowed',\n    [NOT_ACCEPTABLE]: 'Not Acceptable',\n    [PROXY_AUTHENTICATION_REQUIRED]: 'Proxy Authentication Required',\n    [REQUEST_TIMEOUT]: 'Request Time-out',\n    [CONFLICT]: 'Conflict',\n    [GONE]: 'Gone',\n    [LENGTH_REQUIRED]: 'Length Required',\n    [PRECONDITION_FAILED]: 'Precondition Failed',\n    [REQUEST_ENTITY_TOO_LARGE]: 'Request Entity Too Large',\n    [REQUEST_URI_TOO_LONG]: 'Request-URI Too Large',\n    [UNSUPPORTED_MEDIA_TYPE]: 'Unsupported Media Type',\n    [REQUESTED_RANGE_NOT_SATISFIABLE]: 'Requested Range not Satisfiable',\n    [EXPECTATION_FAILED]: 'Expectation Failed',\n    [IM_A_TEAPOT]: 'I\\'m a teapot',\n    [MISDIRECTED_REQUEST]: 'Misdirected Request',\n    [UNPROCESSABLE_ENTITY]: 'Unprocessable Entity',\n    [UPGRADE_REQUIRED]: 'Locked',\n    [PRECONDITION_REQUIRED]: 'Failed Dependency',\n    [LOCKED]: 'Upgrade Required',\n    [FAILED_DEPENDENCY]: 'Precondition Required',\n    [TOO_MANY_REQUESTS]: 'Too Many Requests',\n    [REQUEST_HEADER_FIELDS_TOO_LARGE]: 'Request Header Fields Too Large',\n    [UNAVAILABLE_FOR_LEGAL_REASONS]: 'Unavailable For Legal Reasons',\n    [INTERNAL_SERVER_ERROR]: 'Internal Server Error',\n    [NOT_IMPLEMENTED]: 'Not Implemented',\n    [BAD_GATEWAY]: 'Bad Gateway',\n    [SERVICE_UNAVAILABLE]: 'Service Unavailable',\n    [GATEWAY_TIMEOUT]: 'Gateway Time-out',\n    [HTTP_VERSION_NOT_SUPPORTED]: 'HTTP Version not Supported',\n    [VARIANT_ALSO_NEGOTIATES]: 'Variant Also Negotiates',\n    [INSUFFICIENT_STORAGE]: 'Insufficient Storage',\n    [LOOP_DETECTED]: 'Loop Detected',\n    [NOT_EXTENDED]: 'Not Extended',\n    [NETWORK_AUTHENTICATION_REQUIRED]: 'Network Authentication Required',\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexsasharegan%2Fhttp-status","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexsasharegan%2Fhttp-status","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexsasharegan%2Fhttp-status/lists"}