code: async function orgs(users, options) {
    const opts = Object.assign({}, options);
    const acc = { orgs: [], names: [] };
  
    if (isObject(users)) {
      return github('paged', '/user/orgs', users).then(res => addOrgs(acc, res));
    }
  
    if (typeof users === 'string') users = [users];
    if (!Array.isArray(users)) {
      return Promise.reject(new TypeError('expected users to be a string or array'));
    }
  
    const pending = [];
    for (const name of users) {
      pending.push(getOrgs(acc, name, options));
    }
  
    await Promise.all(pending);
  
    if (opts.sort !== false) {
      return acc.orgs.sort(compare('login'));
    }
    return acc.orgs;
  }
docs: Get publicly available information from the GitHub API for one or
  more users or organizations. If user names are passed, all orgs for those
  users are returned. If organization names are passed, an object is
  returned with information about each org.
  
  ```js
  const orgs = require('orgs');
  
  // see github-base for other authentication options
  orgs(['doowb', 'jonschlinkert'], { token: 'YOUR_GITHUB_AUTH_TOKEN' })
  .then(orgs => {
  // array of organization objects from the GitHub API
  console.log(orgs);
  })
  .catch(console.error)l
  ```
  @param {String|Array} `users` One or more users or organization names.
  @param {Object} `options`
  @return {Promise}
  @api public