šŸš€ Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →
Socket
Sign inDemoInstall
Socket

@types/http-codes

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/http-codes

TypeScript definitions for http-codes

1.0.4
ts4.5
ts4.6
ts4.7
ts4.8
ts4.9
ts5.0
ts5.1
ts5.2
ts5.3
ts5.4
ts5.5
ts5.6
ts5.7
ts5.8
ts5.9
latest
Source
npm
Version published
Weekly downloads
2.3K
5.53%
Maintainers
1
Weekly downloads
Ā 
Created
Source

Installation

npm install --save @types/http-codes

Summary

This package contains type definitions for http-codes (https://github.com/flesler/node-http-codes).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/http-codes.

index.d.ts

export const ACCEPTED: number;
export const ALREADY_REPORTED: number;
export const BAD_GATEWAY: number;
export const BAD_REQUEST: number;
export const BANDWIDTH_LIMIT_EXCEEDED: number;
export const CONFLICT: number;
export const CONTINUE: number;
export const CREATED: number;
export const EXPECTATION_FAILED: number;
export const FAILED_DEPENDENCY: number;
export const FORBIDDEN: number;
export const FOUND: number;
export const GATEWAY_TIMEOUT: number;
export const GONE: number;
export const HTTP_VERSION_NOT_SUPPORTED: number;
export const IM_A_TEAPOT: number;
export const IM_USED: number;
export const INSUFFICIENT_STORAGE: number;
export const INTERNAL_SERVER_ERROR: number;
export const LENGTH_REQUIRED: number;
export const LOCKED: number;
export const LOOP_DETECTED: number;
export const METHOD_NOT_ALLOWED: number;
export const MISDIRECTED_REQUEST: number;
export const MOVED_PERMANENTLY: number;
export const MULTIPLE_CHOICES: number;
export const MULTI_STATUS: number;
export const NETWORK_AUTHENTICATION_REQUIRED: number;
export const NON_AUTHORITATIVE_INFORMATION: number;
export const NOT_ACCEPTABLE: number;
export const NOT_EXTENDED: number;
export const NOT_FOUND: number;
export const NOT_IMPLEMENTED: number;
export const NOT_MODIFIED: number;
export const NO_CONTENT: number;
export const OK: number;
export const PARTIAL_CONTENT: number;
export const PAYLOAD_TOO_LARGE: number;
export const PAYMENT_REQUIRED: number;
export const PERMANENT_REDIRECT: number;
export const PRECONDITION_FAILED: number;
export const PRECONDITION_REQUIRED: number;
export const PROCESSING: number;
export const PROXY_AUTHENTICATION_REQUIRED: number;
export const RANGE_NOT_SATISFIABLE: number;
export const REQUEST_HEADER_FIELDS_TOO_LARGE: number;
export const REQUEST_TIMEOUT: number;
export const RESET_CONTENT: number;
export const SEE_OTHER: number;
export const SERVICE_UNAVAILABLE: number;
export const SWITCHING_PROTOCOLS: number;
export const TEMPORARY_REDIRECT: number;
export const TOO_MANY_REQUESTS: number;
export const UNAUTHORIZED: number;
export const UNAVAILABLE_FOR_LEGAL_REASONS: number;
export const TOO_EARLY: number;
export const UNPROCESSABLE_ENTITY: number;
export const UNSUPPORTED_MEDIA_TYPE: number;
export const UPGRADE_REQUIRED: number;
export const URI_TOO_LONG: number;
export const USE_PROXY: number;
export const VARIANT_ALSO_NEGOTIATES: number;

Additional Details

  • Last updated: Tue, 07 Nov 2023 03:09:37 GMT
  • Dependencies: none

Credits

These definitions were written by Mohamed Hegazy.

FAQs

Package last updated on 07 Nov 2023

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