Nullifying Precipitation Machine
    Wondering what’s next for npm?Check out our public roadmap! »

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

    3.0.3 • Public • Published

    StatusCode

    npm npm npm

    Enums and utilities around status codes.

    Requirements

    • node >= 7.10
    • typescript >= 2.4

    Installation

    npm i @bluejay/status-code

    Usage

    import { StatusCode, isStatusCode, is5xx } from '@bluejay/status-code';
     
    StatusCode.OK; // 200
    isStatusCode(200); // true
    is5xx(StatusCode.INTERNAL_SERVER_ERROR); // true

    Documentation

    See Github Pages.

    Install

    npm i @bluejay/status-code

    DownloadsWeekly Downloads

    352

    Version

    3.0.3

    License

    MIT

    Unpacked Size

    21.5 kB

    Total Files

    33

    Last publish

    Collaborators

    • avatar
    • avatar