edge-paths
Get the paths of edge browser easily
Last updated 4 years ago by shirshak .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ gnpm install edge-paths 
SYNC missed versions from official npm registry.

Edge Paths

npm version Downloads Install size Test Edge Paths

Possible paths or binary names of Edge in the current platform

Why?

  • Well Documented
  • Well Tested
  • Used by popular players
  • Written with Love <3
  • Fully open sourced

Usage

  • At the moment linux support is only avail for dev channel. Once canary, beta and stable version are release we shall update the package.
Javascript
import {
	getEdgeBetaPath,
	getEdgeCanaryPath,
	getEdgeDevPath,
	getEdgePath,
	getAnyEdgeStable,
	getAnyEdgeLatest,
} from "./dist/index.js"

console.log(getEdgeBetaPath())
console.log(getEdgeCanaryPath())
console.log(getEdgeDevPath())
console.log(getEdgePath())
// console.log(getAnyEdgeStable())
// console.log(getAnyEdgeLatest())

The output shall look like this according to your installation

// On OSX
// /Applications/Microsoft Edge Beta.app/Contents/MacOS/Microsoft Edge Beta
// /Applications/Microsoft Edge Canary.app/Contents/MacOS/Microsoft Edge Canary
// /Applications/Microsoft Edge Beta.app/Contents/MacOS/Microsoft Edge Dev
// /Applications/Microsoft Edge Beta.app/Contents/MacOS/Microsoft Edge

// On Windows
// C:\Program Files (x86)\Microsoft\Edge Beta\Application\msedge.exe
// C:\Program Files (x86)\Microsoft\Edge Canary\Application\msedge.exe
// C:\Program Files (x86)\Microsoft\Edge Dev\Application\msedge.exe
// C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe

// On Linux
// Beta edge not avail yet
// Canary not avail
// /usr/bin/microsoft-edge-dev
// Stable not avail
Typescript
import {
	getEdgeBetaPath,
	getEdgeCanaryPath,
	getEdgeDevPath,
	getEdgePath,
} from "edge-paths"

console.log(getEdgeBetaPath())
console.log(getEdgeCanaryPath())
console.log(getEdgeDevPath())
console.log(getEdgePath())

Installation

Use npm.

$ npm install edge-paths

// or

$ yarn add edge-paths

API

import {
	getEdgeBetaPath,
	getEdgeCanaryPath,
	getEdgeDevPath,
	getEdgePath,
	getAnyEdgeStable,
	getAnyEdgeLatest,
}  from "./dist/index.js"
  • getAnyEdgeStable or getAnyEdgeLatest might be more useful if you don't want any specific version.

Used By

  • devtools

  • Please send PR if you are using edge paths. We will be accepting first 10 request.

License

MIT License

© 2020 Shirshak Bajgain

Current Tags

  • 3.0.5                                ...           latest (2 years ago)

16 Versions

  • 3.0.5                                ...           2 years ago
  • 3.0.4                                ...           2 years ago
  • 3.0.3                                ...           2 years ago
  • 3.0.2                                ...           2 years ago
  • 3.0.1                                ...           2 years ago
  • 3.0.0                                ...           2 years ago
  • 2.2.1                                ...           4 years ago
  • 2.2.0                                ...           4 years ago
  • 2.1.0                                ...           4 years ago
  • 2.0.0                                ...           4 years ago
  • 1.0.5                                ...           5 years ago
  • 1.0.4                                ...           5 years ago
  • 1.0.3                                ...           5 years ago
  • 1.0.2                                ...           5 years ago
  • 1.0.1                                ...           5 years ago
  • 1.0.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 1
This Week 1
This Month 1
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (3)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |