
Security News
Vite Releases Technical Preview of Rolldown-Vite, a Rust-Based Bundler
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
@types/http-codes
Advanced tools
TypeScript definitions for http-codes
npm install --save @types/http-codes
This package contains type definitions for http-codes (https://github.com/flesler/node-http-codes).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/http-codes.
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;
These definitions were written by Mohamed Hegazy.
FAQs
TypeScript definitions for http-codes
The npm package @types/http-codes receives a total of 1,282 weekly downloads. As such, @types/http-codes popularity was classified as popular.
We found that @types/http-codes demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
Research
Security News
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
Research
Security News
Malicious PyPI package semantic-types steals Solana private keys via transitive dependency installs using monkey patching and blockchain exfiltration.