Heads up
Closed this issue · 3 comments
jarofghosts commented
Just a heads up, node already provides these
olivierrr commented
+1
prettymuchbryce commented
Node provides a map to access the reason-phrase by status code, but does not provide the reverse.
I created this module a while back for myself because I prefer the use of constants over littering my code with magic numbers.
i.e.
response.status(HttpStatus.OK)
vs
response.status(200)
Make sense ?
jarofghosts commented
sure!