lib/index.js
function getServerStatus(cb) {
  async.parallel({
      live: (cb) => {
        request('http://live.albiononline.com/status.txt', (error, response, body) => {
          if(error) {
            return cb(error);
          }
          cb(null, JSON.parse(body.trim()));
        });
      },
      staging: (cb) => {
        request('http://staging.albiononline.com/status.txt', (error, response, body) => {
          if(error) {
            return cb(error);
          }
          cb(null, JSON.parse(body.trim()));
        });
      }
    }, (e, rs) => {
      if(e) {
        return cb(e);
      }

      cb(null, {
        live: {
          status: rs.live.status,
          message: rs.live.message,
        },
        staging: {
          status: rs.staging.status,
          message: rs.staging.message,
        }
      });
    });
}
function getServerStatus(cb) {
  async.parallel({
      live: (cb) => {
        request('http://live.albiononline.com/status.txt', (error, response, body) => {
          if(error) {
            return cb(error);
          }
          cb(null, JSON.parse(body.trim()));
        });
      },
      staging: (cb) => {
        request('http://staging.albiononline.com/status.txt', (error, response, body) => {
          if(error) {
            return cb(error);
          }
          cb(null, JSON.parse(body.trim()));
        });
      }
    }, (e, rs) => {
      if(e) {
        return cb(e);
      }

      cb(null, {
        live: {
          status: rs.live.status,
          message: rs.live.message,
        },
        staging: {
          status: rs.staging.status,
          message: rs.staging.message,
        }
      });
    });
}
function getServerStatus ( cb ) { async . parallel ( { live : ( cb ) => { request ( 'http://live.albiononline.com/status.txt' , ( error , response , body ) => { if ( error ) { return cb ( error ) ; } cb ( null , JSON . parse ( body . trim ( ) ) ) ; } ) ; } , staging : ( cb ) => { request ( 'http://staging.albiononline.com/status.txt' , ( error , response , body ) => { if ( error ) { return cb ( error ) ; } cb ( null , JSON . parse ( body . trim ( ) ) ) ; } ) ; } } , ( e , rs ) => { if ( e ) { return cb ( e ) ; } cb ( null , { live : { status : rs . live . status , message : rs . live . message , } , staging : { status : rs . staging . status , message : rs . staging . message , } } ) ; } ) ; }
getServerStatus - description

@param  {callback} cb  description
getServerStatus - description