JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 724282
  • Score
    100M100P100Q199440F
  • License MIT

Finds the version of Chrome that is installed on your machine

Package Exports

  • @testim/chrome-version

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 (@testim/chrome-version) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

chrome-version

Build Status

Finds the version of Chrome (or Chromium) that is installed on your machine.

Installation

npm install @testim/chrome-version

Use

(async () => {
    const { getChromeVersion } = require('@testim/chrome-version');
    const includeChromium = false;  // NOTE: set to true to also search for Chromium
    const version = await getChromeVersion(includeChromium);
    console.log(version);
})();

Testing

npm test
  • If no version of chrome is installed on your machine getChromeVersion will return null.