@36node/http-status 中文文档教程
http-status
提供最有用的 http 状态。
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,根据 MIT 许可证。
在贡献者 (list) 的帮助下由 36node 创作和维护。
github.com/zzswang · GitHub @36node
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