@tiendq/http-status
v1.0.2
Published
Returning HTTP status in a quick and easy way
Downloads
8
Readme
HTTP Status
Returning HTTP status in a quick and easy way. Just using unpopular built-in NodeJS http.STATUS_CODES
property.
Example:
const HttpStatus = require('@tiendq/http-status');
response.status(HttpStatus.OK).text(HttpStatus.Text.OK);
About
Copyright (c) 2019 Tien Do ([email protected])
MIT License