Skip to content

ksathyanm/find-edge-version

Repository files navigation

Find edge version

Test windows status Test macOS status

npm version Node.js version npm downloads Minified size Known vulnerabilities

Finds installed Edge version.

Install

npm install find-edge-version

Usage

const findEdgeVersion = require("find-edge-version")

const example = async () => {
  const { path, version } = await findEdgeVersion()
  console.log(`Found ${version} version of MS Edge browser at ${path}`)
}
example()

API

findEdgeVersion(channel?)

channel

Type: string
Values:

  • On Windows - 'stable' | 'beta' | 'dev' | 'canary'
  • On macOS - 'app' | 'stable' | 'beta' | 'dev' | 'canary'

The default is the first available binary from above mentioned order.