find-edge-version
v0.1.1
Published
Finds installed MS Edge version
Downloads
418
Readme
Find edge version
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.