{"name":"edge-paths","version":"3.0.2","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/main.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":"e4e2db1e7478b055cd705108fb5c39d4e131449b","bugs":{"url":"https://github.com/shirshak55/edge-paths/issues"},"homepage":"https://github.com/shirshak55/edge-paths#readme","_id":"edge-paths@3.0.2","_nodeVersion":"19.0.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-WkuAXB9d56dHkQIdqXIZ0zdjPyqu3YtPKegBdNSyGKDbSQ8ytqqodv0Cx9SxHs7ITHMnpVVYYpUW9Ll83mStUQ==","shasum":"24345af659ba461f9f0723d3b956db4e7a5d1dfd","tarball":"http://registry-npm.ywwl.com/edge-paths/download/edge-paths-3.0.2.tgz","fileCount":5,"unpackedSize":9552,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCRJFJR8gpjxXSHvC76g5SqZE7DwhpO21DnY0wg9IH/IwIgRcSV7sl+43N+wc8HnFNiXpMGCC0pASydHYti7bWTg34="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjtJNuACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpdig//d0u0c3Y1cM0coeQ9xFsSVx+83oR07mrpGCCDdod/Q7xVnb/q\r\n7/hHLhQjjAo0eik5mcYrFPuTZNqiKOR97QhS4m73KIVVQM+PTknTeD/2Xla8\r\nNFuHbpJ/QcpxwERTxwv64Wjy8wdHpM6IEpqUhFFKJIc55hoD1qwcCQz/Q66c\r\nWSS5w/V97fcGVXhkOp2WoswQdsIpJNd0UuY+5ubeA5h9C+TrEzOSlpOU7+qG\r\nPwj7o+EXjLV3cI5oXdZLSZ9j4XlgAEVvcx3UDu+ErKX605RCO52uEmxsmDqm\r\nvb5O5p+qZvpUkiCy61Mn+krZTbAnD4oeGqctEwoKX0GaFGh2WBrFaSSdaZSK\r\n3a54SBzxb5tIiMdkvsoI4PeclP7lfPhWaRbTZFBQWZMDmeCaUbecNz9dbOz/\r\neYxXuI8WLInIKI6PQl2vlYcG3HGve6XncIc3YNXBjPfRkwnVdjsGFfPIpN4I\r\ncy5BNk/ZDhH675beATZ+DSMDNHvt4klbTixOD09r4zTrZOBv2tadEu6P6v71\r\nVFu2+rFezbJPbQ5JVJOOsLWxxgryDxOICVHPZrGQsaOtVpq4Qmzk3KuQ6Nkq\r\n4U56vRep/SX8eTUqM+FW5SvbTfk+byQM20JjGaHU0rHSEExzoNr4bio1VF2E\r\n8qDLvdH9auviKLQgKWvm30/WN6TxB1E5/4Y=\r\n=+WFE\r\n-----END PGP SIGNATURE-----\r\n","size":3084,"noattachment":false,"key":"/edge-paths/-/edge-paths-3.0.2.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.2_1672778606260_0.577738273373527"},"_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":1672778606436,"_cnpm_publish_time":1672778606436,"dist-tags":{"latest":"3.0.5"}}