Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
node-idevice
Advanced tools
Install apps to your ios device with node.
This project depends on ideviceinstaller from the libimobiledevice project. The currently preferred way of obtaining the binary is to use brew.
brew install ideviceinstaller
You can then tell node-idevice to use the command:
// Use executable found in your $PATH
var device = new IDevice();
// Or you can manually set the executable
var device = new IDevice(false, {cmd: './path/to/ideviceinstaller'});
If you want to build the binary yourself you can try:
./utils/steps
This should pull and build all the dependencies. Be warned this is pretty long.
We currently support installing, removing and listing apps on a device.
var ipa = path.resolve(__dirname, '../path/to/your/App.ipa');
device.install(ipa, function (err) {
// Do stuff when app is installed
});
// If you want to be sure the callback executes with the app on device you can use
device.installAndWait(ipa, 'domain.organisation.App', function (err, success) {
// Do stuff when app is on device and ready
})
ideviceinstaller consumes IPA packages, please see the docs on how to get an IPA from your App.
device.remove('domain.organisation.App', function (err) {
// Do stuff when app is installed
});
device.isInstalled(appName, function (err, installed) {
// Installed is true when app is found on device
});
device.listInstalled(function (err, data) {
// data is a list of objects, one per app
// The object contains info about the app, currently 'name' and 'fullname'
});
FAQs
Install apps on your ios device. Node wrapper around ideviceinstaller.
We found that node-idevice demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.