https://github.com/shirshak55/edge-paths
Possible paths or binary names of Edge in the current platform
https://github.com/shirshak55/edge-paths
edge
Last synced: 5 months ago
JSON representation
Possible paths or binary names of Edge in the current platform
- Host: GitHub
- URL: https://github.com/shirshak55/edge-paths
- Owner: shirshak55
- License: mit
- Created: 2020-05-29T13:48:42.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-11-13T01:29:16.000Z (over 1 year ago)
- Last Synced: 2026-01-11T20:27:02.918Z (5 months ago)
- Topics: edge
- Language: TypeScript
- Homepage: https://github.com/shirshak55/edge-paths
- Size: 56.6 KB
- Stars: 13
- Watchers: 1
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Edge Paths
[](https://www.npmjs.com/package/edge-paths)
[](https://npmjs.com/edge-paths)
[](https://packagephobia.now.sh/result?p=edge-paths)

Possible paths or binary names of [Edge](https://www.microsoft.com/en-us/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
```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
```javascript
// 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
```typescript
import {
getEdgeBetaPath,
getEdgeCanaryPath,
getEdgeDevPath,
getEdgePath,
} from "edge-paths"
console.log(getEdgeBetaPath())
console.log(getEdgeCanaryPath())
console.log(getEdgeDevPath())
console.log(getEdgePath())
```
## Installation
[Use](https://docs.npmjs.com/cli/install) [npm](https://docs.npmjs.com/about-npm/).
```bash
$ npm install edge-paths
// or
$ yarn add edge-paths
```
## API
```javascript
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](https://www.npmjs.com/package/devtools)
- Please send PR if you are using edge paths. We will be accepting first 10 request.
## License
[MIT License](./LICENSE)
© 2020 Shirshak Bajgain