# genymotion-ext

> Launch Genymotion player from node.js and wait for it to be as booted as possible.

Latest version **0.5.11** (published 2018-06-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install genymotion-ext
pnpm add genymotion-ext
yarn add genymotion-ext
bun add genymotion-ext
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.5.11 |
| Published | 2018-06-01 |
| First published | 2018-05-31 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 8.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 6 |
| Author | Mick Hansen |
| Maintainers | young2018 |
| Keywords | genymotion, player, boot |

## Links

- npm: https://www.npmjs.com/package/genymotion-ext
- Repository: https://github.com/mickhansen/genymotion.js
- Issues: https://github.com/mickhansen/genymotion.js/issues
- npm.io page: https://npm.io/package/genymotion-ext

## Dependencies (2)

- [debug](https://npm.io/package/debug.md) ^2.2.0
- [bluebird](https://npm.io/package/bluebird.md) ^2.9.25

## Alternatives

- [@sveltejs/kit](https://npm.io/package/@sveltejs/kit.md) — 2.2M weekly downloads
- [@tangle-network/brand](https://npm.io/package/@tangle-network/brand.md) — 10.0K weekly downloads
- [seneca](https://npm.io/package/seneca.md) — 7.4K weekly downloads
- [@bsb/base](https://npm.io/package/@bsb/base.md) — 7.2K weekly downloads
- [@modern-js/plugin-swc](https://npm.io/package/@modern-js/plugin-swc.md) — 3.4K weekly downloads

## Recent versions

- 0.5.11 (latest) — 2018-06-01
- 0.5.10 — 2018-06-01
- 0.5.9 — 2018-06-01
- 0.5.7 — 2018-06-01
- 0.5.6 — 2018-05-31
- 0.5.5 — 2018-05-31
- 0.5.4 — 2018-05-31
- 0.5.3 — 2018-05-31
- 0.5.2 — 2018-05-31

## README

# genymotion.js
Launch Genymotion player from node.js and wait for it to be as booted as possible.

Specifically it looks for the presense of an IP for the VM for the android boot animation to finish.
The android emulator STILL might not be fully booted at this point so you might want to wait a further 5-10s depending on system resources.

## Installation

```sh
npm install --save genymotion
```

## Usage

```js
var genymotion = require('genymotion');

genymotion.launch('vm-name', {
  genymotion: '/path/to/genymotion/dir' // default: process.env.GENYMOTION
  kill: true // default: true, will kill existing player for vm if running
}).then(function (instance) {
  console.log(instance.ip); // IP of genymotion player, for adb connect
  instance.stop(); // Cleanly stops genymotion and its virtualbox image
});
```

Set path to genymotion with `GENYMOTION=/path/to/genymotion` 
Assumes that `vboxmanage` is in `$PATH`.

`stop()` will also be called automatically on `process.on('SIGINT')`.

---
_Source: https://npm.io/package/genymotion-ext · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
