Socket
Socket
Sign inDemoInstall

find-edge-version

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    find-edge-version

Finds installed MS Edge version


Version published
Maintainers
1
Install size
5.19 kB
Created

Readme

Source

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.

Keywords

FAQs

Last updated on 29 Aug 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc