0.1.1 • Published 4 years ago

find-edge-version v0.1.1

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

Find edge version

Test windows status Test macOS status

NPM Version Node.js Version NPM Downloads 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.