@36node/http-status

0.0.1 • Public • Published

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

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. 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

Readme

Keywords

none

Package Sidebar

Install

npm i @36node/http-status

Weekly Downloads

0

Version

0.0.1

License

MIT

Unpacked Size

10.3 kB

Total Files

15

Last publish

Collaborators

  • xuna08
  • zzswang
  • hauy
  • 36node-robot