Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

get-ios-devices

lucasbento8MIT0.0.1

Get a list of iOS devices and simulators

devices, ios, mac, simulators

readme

get-ios-devices

Get a list of iOS devices and simulators.

Install

yarn add get-ios-devices

Usage

const iOSDevices = require('get-ios-devices');

const devices = iOSDevices();
/*
 devices = [
    {
      availability: 'available',
      state: 'Booted',
      isAvailable: true,
      name: 'iPhone X',
      udid: 'FA43D7DC-91C7-4707-8208-485D94C1FD0C',
      availabilityError: '',
      version: '12.1'
    }
  ]
*/

License

MIT © Lucas Bento