index.js
function normalizeUrl (url) {
  if (!url || /per_page=/.test(url)) return url
  /* istanbul ignore next */
  if ((/&/.test(url) && !/&$/.test(url)) || (!/\?$/.test(url) && /\?/.test(url))) {
    return url + '&per_page=100'
  }
  return /\?$/.test(url) ? url + 'per_page=100' : url + '?per_page=100'
}
function normalizeUrl (url) {
  if (!url || /per_page=/.test(url)) return url
  /* istanbul ignore next */
  if ((/&/.test(url) && !/&$/.test(url)) || (!/\?$/.test(url) && /\?/.test(url))) {
    return url + '&per_page=100'
  }
  return /\?$/.test(url) ? url + 'per_page=100' : url + '?per_page=100'
}
function normalizeUrl ( url ) { if ( ! url || / per_page= / . test ( url ) ) return url /* istanbul ignore next */ if ( ( / & / . test ( url ) && ! / &$ / . test ( url ) ) || ( ! / \?$ / . test ( url ) && / \? / . test ( url ) ) ) { return url + '&per_page=100' } return / \?$ / . test ( url ) ? url + 'per_page=100' : url + '?per_page=100' }
> Normalize URL query

@param  {String} `url`
@return {String}
> Normalize URL query