npm packaged modules

    base-statuscode

    0.1.1 • Public • Published

    base-statuscode

    NPM version build status Test coverage

    Reduce a statuscode to its base.

    Installation

    $ npm i --save base-statuscode

    Overview

    var baseStatus = require('base-statuscode');
     
    baseStatus(404);
    // => 400
     
    baseStatus(205);
    // => 200

    License

    MIT © Yoshua Wuyts

    Keywords

    none

    Install

    npm i base-statuscode

    DownloadsWeekly Downloads

    2

    Version

    0.1.1

    License

    MIT

    Last publish

    Collaborators

    • yoshuawuyts