JSPM

chrome-paths

0.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 6075
  • Score
    100M100P100Q127733F
  • License ISC

Paths of currently installed Chrome, Chrome Canary, Chromium and Dartium

Package Exports

  • chrome-paths

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (chrome-paths) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

chrome-paths

npm version Build Status

Paths of currently installed Chrome, Chrome Canary, Chromium and Dartium

const chromePaths = require('chrome-paths');

// On macOS

chromePaths.chrome; //=> '/Applications/Google Chrome.app/Contents/MacOS/Google Chrome'
chromePaths.chromeCanary; //=> '/Applications/Google Chrome Canary.app/Contents/MacOS/Google Chrome Canary'
chromePaths.chromium; //=> '/Applications/Chromium.app/Contents/MacOS/Chromium'

Installation

Use npm.

npm install chrome-paths

API

const chromePaths = require('chrome-paths');

chromePaths.chrome

Type: string or null

chromePaths.chromeCanary

Type: string or null

chromePaths.chromium

Type: string or null

chromePaths.dartium

Type: string or null

License

ISC License © 2018 Shinnosuke Watanabe