code: function createLabels(server, labels) {
    return Promise.all(labels.map(formatLabel).map(function (_ref5) {
      var name = _ref5.name;
      var color = _ref5.color;
      return createLabel(server, name, color);
    }));
  }
docs: Prepares and sends a request to GitHub to create multiple labels
  
  @name createLabels
  @function
  @param {Object} server the server configuration object
  @param {String} server.api the api endpoint to connect to
  @param {String} server.token the api token to use
  @param {String} server.repo the git repo to manipulate
  @param {array} labels an array of objects containing data to be formatted and sent to GitHub
  @return {Promise}