@yehonadav/statuscodes
v1.0.6
Published
enum mapping for http status codes
Downloads
1
Maintainers
Readme
StatusCodes
install
npm i @yehonadav/statuscodes
enum mapping for http status codes:
usage
import {statusCode} from "statuscodes"
function responseOk(message) {
return {
status: statusCode.ok,
message,
}
}
enjoy =)