is-success Check if a number is a HTTP success status code Install $ npm install --save is-success Usage const isSuccess = require('is-success'); isSuccess(200); //=> true isSuccess(400); //=> false Related is-redirect is-server-error is-client-error License MIT © Arthur Verschaeve