index.js
function sauceBrowsers(wanted) {
  return got({
    path: '/rest/v1/info/platforms/webdriver',
    hostname: 'saucelabs.com',
    protocol: 'https:',
    json: true
  }).then((res) => {
    if (wanted === undefined) return res.body;

    return transform(wanted, aggregate(res.body));
  });
}
function sauceBrowsers(wanted) {
  return got({
    path: '/rest/v1/info/platforms/webdriver',
    hostname: 'saucelabs.com',
    protocol: 'https:',
    json: true
  }).then((res) => {
    if (wanted === undefined) return res.body;

    return transform(wanted, aggregate(res.body));
  });
}
function sauceBrowsers ( wanted ) { return got ( { path : '/rest/v1/info/platforms/webdriver' , hostname : 'saucelabs.com' , protocol : 'https:' , json : true } ) . then ( ( res ) => { if ( wanted === undefined ) return res . body ; return transform ( wanted , aggregate ( res . body ) ) ; } ) ; }
Get a list of objects describing the OS and browser platforms on Sauce Labs
using the "zuul" format.

@param {Array} wanted The list of wanted platforms in "zuul" format
@return {Promise} Promise which is fulfilled with the list
@public
Get a list of objects describing the OS and browser platforms on Sauce Labs using the zuul format .