0.0.1 • Published 7 years ago
@36node/http-status v0.0.1
http-status
Provides most useful http status.
ExtendableError,
Forbindden,
Gone,
InternalError,
InvalidRequest,
NotAcceptable,
NotFound,
Unauthorized,
UnprocessableEntity,Install
yarn add http-statusUsage
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
0.0.1
7 years ago