src/github/graphql.js
function Request(options) {
  return new Promise(function(resolve, reject) {
    client(options, function(err, res) {
      if (err) {
        reject(err);
      } else {
        resolve(res);
      }
    });
  });
}
function Request(options) {
  return new Promise(function(resolve, reject) {
    client(options, function(err, res) {
      if (err) {
        reject(err);
      } else {
        resolve(res);
      }
    });
  });
}
function Request ( options ) { return new Promise ( function ( resolve , reject ) { client ( options , function ( err , res ) { if ( err ) { reject ( err ) ; } else { resolve ( res ) ; } } ) ; } ) ; }
Promisified wrapper over github-graphql-client
@param {Object} options - GraphQL request options
Promisified wrapper over github - graphql - client