base-statuscode
v0.1.1
Published
Reduce a statuscode to its base.
Downloads
3
Readme
base-statuscode
Reduce a statuscode to its base.
Installation
$ npm i --save base-statuscode
Overview
var baseStatus = require('base-statuscode');
baseStatus(404);
// => 400
baseStatus(205);
// => 200