edge-location
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

edge-location npm workflow downloads

Approximates the current location of the Edge browser across platforms.

Usage

Via Node.js:

// ESM
import edgeLocation from 'edge-location'

// Returns the path to Edge as a string
console.log(edgeLocation)
// /Applications/Microsoft Edge.app/Contents/MacOS/Microsoft Edge

// CommonJS
const edgeLocation = require('edge-location')

Supported Platforms

  • macOS (darwin)
  • Windows (win32)
  • Linux (default fallback)

Related projects

License

MIT (c) Cezar Augusto.

Package Sidebar

Install

npm i edge-location

Weekly Downloads

2,082

Version

1.1.1

License

MIT

Unpacked Size

9.13 kB

Total Files

9

Last publish

Collaborators

  • cezaraugusto