@status/codes
A collection of status code enums
Last updated 4 months ago by jfrazx .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @status/codes 
SYNC missed versions from official npm registry.

Status Codes

npm (scoped) NPM

A collection of status code enums.

Available Enums

  • Apache
  • Auth0
  • Braintree
  • Cloudflare
  • FirebaseAuth
  • FTP
  • Http
  • IIS
  • Mocha
  • MongoDB
  • Mongoose *wip
  • Nginx
  • Node
  • Twitter

Install

npm:
npm install @status/codes

yarn:
yarn add @status/codes

Example Usage

import { Http } from '@status/codes';

export class NotFoundError extends Error {
  readonly code = Http.NotFound;
}

Current Tags

  • 1.5.0                                ...           latest (4 months ago)

9 Versions

  • 1.5.0                                ...           4 months ago
  • 1.4.1                                ...           5 months ago
  • 1.4.0                                ...           5 months ago
  • 1.3.0                                ...           8 months ago
  • 1.2.1                                ...           a year ago
  • 1.2.0                                ...           a year ago
  • 1.1.1                                ...           2 years ago
  • 1.1.0                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (17)

Copyright 2014 - 2016 © taobao.org |