@moonandyou/chrome-path-cli

0.2.1 • Public • Published

chrome-path-cli

Getting path for chromium/chrome, it returns paths of chromium/chrome installed on your system

Install

$ npm install --global @moonandyou/chrome-path-cli

Usage

# path of chromes and output json
$ chrome-path --json --chrome --canary --chromium
{
  "chrome": "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome",
  "canary": "/Applications/Google Chrome Canary.app/Contents/MacOS/Google Chrome Canary",
  "chromium": "/Applications/Chromium.app/Contents/MacOS/Chromium"
}

# path of chrome canary only
$ chrome-path --chrome --canary --chromium
/Applications/Google Chrome.app/Contents/MacOS/Google Chrome
/Applications/Google Chrome Canary.app/Contents/MacOS/Google Chrome Canary
/Applications/Chromium.app/Contents/MacOS/Chromium

# chrome is default. output as json
$ chrome-path --json

# and more
$ chrome-path --help

License

MIT © Jimmy Moon

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @moonandyou/chrome-path-cli

    Weekly Downloads

    2

    Version

    0.2.1

    License

    MIT

    Last publish

    Collaborators

    • ragingwind