# which-chrome

> get Google Chrome path

Latest version **0.1.1** (published 2017-03-24) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

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

Provides the command `which-chrome`.

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.1.1 |
| Published | 2017-03-24 |
| First published | 2017-03-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | sasa+1 |
| Maintainers | sasaplus1 |

## Links

- npm: https://www.npmjs.com/package/which-chrome
- Repository: https://github.com/sasaplus1/which-chrome
- Homepage: https://github.com/sasaplus1/which-chrome#readme
- Issues: https://github.com/sasaplus1/which-chrome/issues
- npm.io page: https://npm.io/package/which-chrome

## Dependencies (1)

- [commander](https://npm.io/package/commander.md) ^2.9.0

## Recent versions

- 0.1.1 (latest) — 2017-03-24
- 0.1.0 — 2017-03-22

## README

# which-chrome

[![Build Status](https://travis-ci.org/sasaplus1/which-chrome.svg)](https://travis-ci.org/sasaplus1/which-chrome)
[![Dependency Status](https://gemnasium.com/badges/github.com/sasaplus1/which-chrome.svg)](https://gemnasium.com/github.com/sasaplus1/which-chrome)
[![npm version](https://badge.fury.io/js/which-chrome.svg)](https://badge.fury.io/js/which-chrome)

get Google Chrome path

## Installation

### npm

```sh
$ npm install which-chrome karma-chrome-launcher
```

## Usage

```js
var whichChrome = require('which-chrome');

console.log(whichChrome.Chrome);        // => "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome"
console.log(whichChrome.ChromeCanary);  // => "/Applications/Google Chrome Canary.app/Contents/MacOS/Google Chrome Canary"
console.log(whichChrome.Chromium);      // => null
console.log(whichChrome.Dartium);       // => null
```

## CLI

```sh
$ which-chrome Chrome
/Applications/Google Chrome.app/Contents/MacOS/Google Chrome
$ which-chrome ChromeCanary
/Applications/Google Chrome Canary.app/Contents/MacOS/Google Chrome Canary
$ which-chrome Chromium
$ echo $?
1
$ which-chrome Dartium
$ echo $?
1
```

## License

The MIT license. Please see LICENSE file.

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