@36node/http-status
Provides useful http status.
Last updated 2 years ago by zzswang .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install @36node/http-status 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.0.1                                ...           latest (2 years ago)

1 Versions

  • 0.0.1                                ...           2 years ago
Downloads
Today 0
This Week 1
This Month 1
Last Day 0
Last Week 0
Last Month 3
Dependencies (0)
None
Dev Dependencies (9)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |