prettymuchbryce / http-status-codes

Constants enumerating the HTTP status codes. All status codes defined in RFC1945 (HTTP/1.0, RFC2616 (HTTP/1.1), and RFC2518 (WebDAV) are supported.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reorder of the status codes enums exported

JameelKhan9 opened this issue · comments

I find my team looking through the enums for the correct status code to use. Would be really useful to have the ts file ordered and comment blocks inserted outlining http code groups 100, 200, 300, etc.

I am happy to have a look at contributing this.

The TS file is generated by this script. I don't see the harm in doing it, so feel free to submit a PR if you're so inclined.