{"name":"edge-paths","version":"3.0.4","description":"Get the paths of edge browser easily","main":"dist/index.js","typings":"dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/shirshak55/edge-paths.git"},"funding":"https://github.com/sponsors/shirshak55","author":{"name":"shirshak"},"license":"MIT","private":false,"type":"module","keywords":["browser","edge","paths","edge-paths","exists","path"],"engines":{"node":">=14.0.0"},"scripts":{"watch":"tsc --watch","build":"tsc","test":"node tests/index.js"},"exports":"./dist/index.js","devDependencies":{"@types/node":"^16.11.9","got":"^11.8.3","typescript":"^4.5.2"},"dependencies":{"@types/which":"^2.0.1","which":"^2.0.2"},"gitHead":"e120e7c1bf2e743cbcabfb904250b67ddf14a8ac","bugs":{"url":"https://github.com/shirshak55/edge-paths/issues"},"homepage":"https://github.com/shirshak55/edge-paths#readme","_id":"edge-paths@3.0.4","_nodeVersion":"19.0.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-CHBBHzHoEvug6enR3ARKkfp3ALHY+CEeFt61sOgUvYSU1nSr4U8DyJoheM6NHUE9rOSj09b5duLV/00iJmSdCw==","shasum":"b3ce25c412c410983fffb71a0114fd1ae8aa08f1","tarball":"http://registry-npm.ywwl.com/edge-paths/download/edge-paths-3.0.4.tgz","fileCount":5,"unpackedSize":9571,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAdLo69+GE/16+M9jC9wvVpRUJEccPS6AYq005cMcM5nAiBPdltCGyn0sOthis6OqGvCT0jyomixi+8yHFf//Zr5FQ=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjtJdzACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmogZhAAmd2rL2k+qRLskjaJdMmOEJRtjtfvStNrnpOklM3fPFMBD/Ks\r\n6Wl2VY+Zey1fP2oAlGRVVdTCjP2WA5eb8LyMOnkow/4Rr40DPp3g7d/T1Hnb\r\nYKPm+kUTgjCSwqgBCtpJt/QCf5+d6Ov1OWMhWmRbz+g4eM173YEkHw++vLaI\r\ny9btwD/JTi2sLTeU1E2ujTllT9SnqPfUuVg9ssVhZZeyLg/B8W3EvC29sd25\r\npAOE82SjfDiH8hsGhafzjuaLAwgLwkDh7zQHq1isNchnD5w9CWwYv21PEmJx\r\ndFZLYXDxyiwg9G5nKSLHDwcz8Y4CJXV1KCV6x3RGG8hHC1BuCBT7Vnw2xncP\r\nDUiWQH+BlE6zr24wvpcnzMmM6Rd8/z91do2Gh17KWzNm4ZnBJy+UYSVTY5+3\r\njXCAVj/alk7mlyWJfZoiO3j1EV43zF1HeiFUdwpeKb3k68vezhQS2AmeNLsx\r\nhq43cIg8KZxPnVYHlu7ouqx0Ce5P+ERCybZzDsyGiIcRWwxSNRaXZn6w1L53\r\nSA5YoF075Llpchoiqh5ek2iOFFClgfcdHTCEzzrGqCAzw1VlQwRtp3nRbaFE\r\nVKLlUhBeUeZwgh1Aqhe7OgUDQNU6kvGhxuykCDeVA9R4jMLWGRPUxc/6cMyf\r\nwy/+L92qxbuWO6q4pnDVwkAtURE3uApxT/Q=\r\n=wr62\r\n-----END PGP SIGNATURE-----\r\n","size":3077,"noattachment":false,"key":"/edge-paths/-/edge-paths-3.0.4.tgz"},"_npmUser":{"name":"shirshak","email":"shirshak55@gmail.com"},"directories":{},"maintainers":[{"name":"shirshak","email":"shirshak55@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/edge-paths_3.0.4_1672779635408_0.9319420185756584"},"_hasShrinkwrap":false,"readme":"# Edge Paths\n\n[![npm version](https://img.shields.io/npm/v/edge-paths.svg)](https://www.npmjs.com/package/edge-paths)\n[![Downloads](https://img.shields.io/npm/dm/edge-paths.svg)](https://npmjs.com/edge-paths)\n[![Install size](https://packagephobia.now.sh/badge?p=edge-paths)](https://packagephobia.now.sh/result?p=edge-paths)\n![Test Edge Paths](https://github.com/shirshak55/edge-paths/workflows/Test%20Edge%20Paths/badge.svg)\n\nPossible paths or binary names of [Edge](https://www.microsoft.com/en-us/edge) in the current platform\n\n### Why?\n\n-   Well Documented\n-   Well Tested\n-   Used by popular players\n-   Written with Love <3\n-   Fully open sourced\n\n### Usage\n\n-   At the moment linux support is only avail for dev channel. Once canary, beta and stable version are release\n    we shall update the package.\n\n###### Javascript\n\n```javascript\nimport {\n\tgetEdgeBetaPath,\n\tgetEdgeCanaryPath,\n\tgetEdgeDevPath,\n\tgetEdgePath,\n\tgetAnyEdgeStable,\n\tgetAnyEdgeLatest,\n} from \"./dist/index.js\"\n\nconsole.log(getEdgeBetaPath())\nconsole.log(getEdgeCanaryPath())\nconsole.log(getEdgeDevPath())\nconsole.log(getEdgePath())\n// console.log(getAnyEdgeStable())\n// console.log(getAnyEdgeLatest())\n```\n\nThe output shall look like this according to your installation\n\n```javascript\n// On OSX\n// /Applications/Microsoft Edge Beta.app/Contents/MacOS/Microsoft Edge Beta\n// /Applications/Microsoft Edge Canary.app/Contents/MacOS/Microsoft Edge Canary\n// /Applications/Microsoft Edge Beta.app/Contents/MacOS/Microsoft Edge Dev\n// /Applications/Microsoft Edge Beta.app/Contents/MacOS/Microsoft Edge\n\n// On Windows\n// C:\\Program Files (x86)\\Microsoft\\Edge Beta\\Application\\msedge.exe\n// C:\\Program Files (x86)\\Microsoft\\Edge Canary\\Application\\msedge.exe\n// C:\\Program Files (x86)\\Microsoft\\Edge Dev\\Application\\msedge.exe\n// C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe\n\n// On Linux\n// Beta edge not avail yet\n// Canary not avail\n// /usr/bin/microsoft-edge-dev\n// Stable not avail\n```\n\n###### Typescript\n\n```typescript\nimport {\n\tgetEdgeBetaPath,\n\tgetEdgeCanaryPath,\n\tgetEdgeDevPath,\n\tgetEdgePath,\n} from \"edge-paths\"\n\nconsole.log(getEdgeBetaPath())\nconsole.log(getEdgeCanaryPath())\nconsole.log(getEdgeDevPath())\nconsole.log(getEdgePath())\n```\n\n## Installation\n\n[Use](https://docs.npmjs.com/cli/install) [npm](https://docs.npmjs.com/about-npm/).\n\n```bash\n$ npm install edge-paths\n\n// or\n\n$ yarn add edge-paths\n```\n\n## API\n\n```javascript\nimport {\n\tgetEdgeBetaPath,\n\tgetEdgeCanaryPath,\n\tgetEdgeDevPath,\n\tgetEdgePath,\n\tgetAnyEdgeStable,\n\tgetAnyEdgeLatest,\n}  from \"./dist/index.js\"\n```\n\n-   `getAnyEdgeStable` or `getAnyEdgeLatest` might be more useful if you don't want any specific version.\n\n## Used By\n\n-   [devtools](https://www.npmjs.com/package/devtools)\n\n-   Please send PR if you are using edge paths. We will be accepting first 10 request.\n\n## License\n\n[MIT License](./LICENSE)\n\n© 2020 Shirshak Bajgain\n","publish_time":1672779635554,"_cnpm_publish_time":1672779635554,"dist-tags":{"latest":"3.0.5"}}