# chrome-launch

> Light cross-platform launcher for Google Chrome

Latest version **1.1.4** (published 2015-08-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install chrome-launch
pnpm add chrome-launch
yarn add chrome-launch
bun add chrome-launch
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.4 |
| Published | 2015-08-27 |
| First published | 2014-12-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 20 |
| Author | Hugh Kennedy |
| Maintainers | hughsk |
| Keywords | chrome, launch, process, spawn, browser, client |

## Links

- npm: https://www.npmjs.com/package/chrome-launch
- Repository: https://github.com/hughsk/chrome-launch
- Issues: https://github.com/hughsk/chrome-launch/issues
- npm.io page: https://npm.io/package/chrome-launch

## Dependencies (4)

- [rimraf](https://npm.io/package/rimraf.md) ^2.2.8
- [quick-tmp](https://npm.io/package/quick-tmp.md) 0.0.0
- [shallow-copy](https://npm.io/package/shallow-copy.md) 0.0.1
- [chrome-location](https://npm.io/package/chrome-location.md) ^1.2.0

## Alternatives

- [launchdarkly-js-client-sdk](https://npm.io/package/launchdarkly-js-client-sdk.md) — 2.5M weekly downloads
- [@elastic/elasticsearch](https://npm.io/package/@elastic/elasticsearch.md) — 2.1M weekly downloads
- [@c8y/client](https://npm.io/package/@c8y/client.md) — 15.3K weekly downloads
- [@signaldb/maverickjs](https://npm.io/package/@signaldb/maverickjs.md) — 1.7K weekly downloads
- [@bbc/http-transport-cache](https://npm.io/package/@bbc/http-transport-cache.md) — 1.2K weekly downloads

## Recent versions

- 1.1.4 (latest) — 2015-08-27
- 1.1.3 — 2014-12-28
- 1.1.2 — 2014-12-28
- 1.1.1 — 2014-12-28
- 1.1.0 — 2014-12-28
- 1.0.1 — 2014-12-28
- 1.0.0 — 2014-12-28

## README

# chrome-launch
![](http://img.shields.io/badge/stability-experimental-orange.svg?style=flat)
![](http://img.shields.io/npm/v/chrome-launch.svg?style=flat)
![](http://img.shields.io/npm/dm/chrome-launch.svg?style=flat)
![](http://img.shields.io/npm/l/chrome-launch.svg?style=flat)

Light cross-platform launcher for Google Chrome.

## Usage

[![NPM](https://nodei.co/npm/chrome-launch.png)](https://nodei.co/npm/chrome-launch/)

### `process = spawn(url, [options])`

Spawns a new Chrome instance in a separate process using
[`child_process.spawn`](http://nodejs.org/api/child_process.html#child_process_child_process_spawn_command_args_options).

Options include:

* `args`: additional command-line arguments to pass to Chrome. See
  [here](http://peter.sh/experiments/chromium-command-line-switches/)
  for a full list.
* `dir`: user configuration directory to use. By default, one will be
  created and then removed when the process is killed.
* `env`: environment variables to use. Defaults to `process.env`.
* `nuke`: remove `opts.dir` when the process exits.

The following command-line options are passed to Chrome in addition
to the ones you supply:

* `--no-first-run`
* `--no-default-browser-check`
* `--disable-translate`
* `--disable-default-apps`
* `--disable-popup-blocking`
* `--disable-zero-browsers-open-for-tests`
* `--user-data-dir=${opts.dir}`

## License

MIT. See [LICENSE.md](http://github.com/hughsk/chrome-launch/blob/master/LICENSE.md) for details.

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