Provides useful http status.
npm install @36node/http-statusProvides most useful http status.
``sh`
ExtendableError,
Forbindden,
Gone,
InternalError,
InvalidRequest,
NotAcceptable,
NotFound,
Unauthorized,
UnprocessableEntity,
`bash`
yarn add http-status
`js
import { Forbindden } from "@36node/http-status";
throw new Forbidden();
`
1. Fork it!
2. Create your feature branch: git checkout -b my-new-featuregit commit -am 'Add some feature'
3. Commit your changes: git push origin my-new-feature`
4. Push to the branch:
5. Submit a pull request :D
http-status © 36node, Released under the MIT License.
Authored and maintained by 36node with help from contributors (list).
> github.com/zzswang · GitHub @36node