@36node/http-status
v0.0.1
Published
Provides useful http status.
Downloads
3
Readme
http-status
Provides most useful http status.
ExtendableError,
Forbindden,
Gone,
InternalError,
InvalidRequest,
NotAcceptable,
NotFound,
Unauthorized,
UnprocessableEntity,
Install
yarn add http-status
Usage
import { Forbindden } from "@36node/http-status";
throw new Forbidden();
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
Author
http-status © 36node, Released under the MIT License.
Authored and maintained by 36node with help from contributors (list).
github.com/zzswang · GitHub @36node