Finds installed Edge version.
npm install find-edge-version
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()
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.