https://github.com/lucasbento/get-ios-devices
Get a list of iOS devices and simulators
https://github.com/lucasbento/get-ios-devices
devices ios nodejs simulators
Last synced: 22 days ago
JSON representation
Get a list of iOS devices and simulators
- Host: GitHub
- URL: https://github.com/lucasbento/get-ios-devices
- Owner: lucasbento
- License: mit
- Created: 2019-05-06T07:04:05.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-06T07:04:21.000Z (about 7 years ago)
- Last Synced: 2024-10-18T09:19:29.658Z (over 1 year ago)
- Topics: devices, ios, nodejs, simulators
- Language: JavaScript
- Size: 28.3 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
get-ios-devices
Get a list of iOS devices and simulators.
## Install
```sh
yarn add get-ios-devices
```
## Usage
```js
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](https://github.com/lucasbento)