lib/index.js
function status(url, code, mod) {
      return this.get(url, mod).then(req => req.statusCode === code);
    }
function status(url, code, mod) {
      return this.get(url, mod).then(req => req.statusCode === code);
    }
function status ( url , code , mod ) { return this . get ( url , mod ) . then ( req => req . statusCode === code ) ; }
Fast status checking
Fast status checking