adaltas / node-http-status

Utility to interact with HTTP status code in Node.js
Other
441 stars 55 forks source link

doc bug: s/_CODE/_NAME/ #36

Closed moltar closed 4 years ago

moltar commented 4 years ago

Doc example:

console.info(status['500_CODE']);

When in fact need to use 500_NAME key.

Thx

wdavidw commented 4 years ago

Thank you for reporting.