Socket
Book a DemoInstallSign in
Socket

@36node/http-status

Package Overview
Dependencies
Maintainers
4
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@36node/http-status

Provides useful http status.

latest
Source
npmnpm
Version
0.0.1
Version published
Maintainers
4
Created
Source

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

FAQs

Package last updated on 16 Aug 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts