@robinblomberg/http-status
TypeScript icon, indicating that this package has built-in type declarations

1.3.0 • Public • Published

HTTP status

Enumeration of all HTTP statuses and status texts.

Installation

npm install @robinblomberg/http-status

Usage

import { status } from '@robinblomberg/http-status';

status.clientError.BAD_REQUEST;
// 400

statusText[status.clientError.BAD_REQUEST];
// 'Bad Request'

/@robinblomberg/http-status/

    Package Sidebar

    Install

    npm i @robinblomberg/http-status

    Weekly Downloads

    0

    Version

    1.3.0

    License

    none

    Unpacked Size

    5.92 kB

    Total Files

    4

    Last publish

    Collaborators

    • robinblomberg