is-client-error
v1.0.0
Published
Check if a number is a HTTP Client Error code
Downloads
2
Maintainers
Readme
is-client-error
Check if a number is a HTTP Client Error code
Install
$ npm install --save is-client-error
Usage
var isClientError = require('is-client-error');
isClientError(404);
//=> true
isClientError(303);
//=> false
Related
License
MIT © Arthur Verschaeve