@yurkimus/http-statuses
v0.0.13
Published
Listing of RFC2616 HTTP statuses
Downloads
181
Readme
HTTP Statuses Listing
Listing of RFC2616 HTTP statuses
Statuses are coming from RFC2616/6.1.1
Table of Contents
Installation
npm
npm install @yurkimus/http-statuses
urls
"@yurkimus/http-statuses": "npm:@yurkimus/http-statuses"
"@yurkimus/http-statuses": "github:yurkimus/http-statuses"
"@yurkimus/http-statuses": "https://raw.githubusercontent.com/yurkimus/http-statuses/main/source/index.js"
Exports
HttpStatuses
Definition:
status :: Number
statusText :: String
HttpStatuses :: Object { [statusText]: status }
Example:
HttpStatuses['No Content'] // => 204