dist/index.js
function add(server, labels) {
  return (0, _label.createLabels)((0, _config.configure)(server), labels).then(_handlers.createSuccessHandler).catch(_handlers.errorHandler);
}
function add(server, labels) {
  return (0, _label.createLabels)((0, _config.configure)(server), labels).then(_handlers.createSuccessHandler).catch(_handlers.errorHandler);
}
function add ( server , labels ) { return ( 0 , _label . createLabels ) ( ( 0 , _config . configure ) ( server ) , labels ) . then ( _handlers . createSuccessHandler ) . catch ( _handlers . errorHandler ) ; }
Automates and simplifies the creation of labels for GitHub repositories

@name add
@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 array of label objects
@return {Promise}
Automates and simplifies the creation of labels for GitHub repositories