{"name":"edge-paths","version":"2.2.0","description":"Get the paths of edge browser easily","main":"dist/main.js","typings":"src/main.ts","repository":{"type":"git","url":"git+ssh://git@github.com/shirshak55/edge-paths.git"},"author":{"name":"shirshak"},"license":"MIT","private":false,"scripts":{"watch":"tsc --watch","build":"tsc"},"devDependencies":{"@types/node":"^14.0.5","@types/which":"^1.3.2","typescript":"^3.9.3"},"dependencies":{"which":"^2.0.2"},"gitHead":"df38f0239b4c832b939a0e00b35221bbcef36731","bugs":{"url":"https://github.com/shirshak55/edge-paths/issues"},"homepage":"https://github.com/shirshak55/edge-paths#readme","_id":"edge-paths@2.2.0","_nodeVersion":"15.6.0","_npmVersion":"7.4.0","dist":{"integrity":"sha512-9G0pqEwVHWJZZqeRM8Ykzfn7qAwYIsEnoGBk2mM11JeonBUSGPsdpRPh85MHiMgDaMjUUx0JGBmQOJC0U4Q4mg==","shasum":"a37c617181e4da7d225af21a67f98c9b3750a953","tarball":"http://registry-npm.ywwl.com/edge-paths/download/edge-paths-2.2.0.tgz","fileCount":11,"unpackedSize":21106,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgCVhKCRA9TVsSAnZWagAAZMoP/R3Af/Mc3IukfHNeRd35\n0Y79ucNn2bIGiP+cr3gmSQm3nlCPA0/GJV2GmLla31GiwaMwku/oFf1Y24X/\nuc+ARDpvf5+7RVOh3Bhsh5LRUBb+k6DfnH6sPaSQ6ir7gEVIRQJMs0VwFMgL\ntkjSp0kkqp07yxDvJuZLcpjJpAemFIo16tIqBJozM/se6WRKwtw8w8uWN6k6\nTVDtz8J1QsR2JdNmWKa7+g7/LNIsSt/z6UYoxQuQl5Fh3F8sDuCFBB2SWLY7\nDwkaHQq7QFzOntwzy7h/dBNiv0YQ46Czkclq8nB2/W5D/CKC1UoO2zltOFAi\n5SJHRiepwoIiSaXy8E/UmpjLnKS8D1IyxO56fcAPs1isaofq9XQ665hvkZaw\nxII2Ld0ngwOW9jdYO3qZBVBU/wwhRtASA1ULKetH9+rSB81L7+iikwm79mz8\nqkNk0TdWxyCCNrxRnLY4vmD64IiVk2A68R4hVEn0Eru8nOzPHTUBhXjzEeX3\nhXwLr9yxCZdSt/oNV7I8SrcEWA3E5SueJfJhfD/2yPtNi7++vBoqopXaIVKF\nnuBlakeq4wBRnZYLCH4Loz90oY2wOxErduxlsQr6xMP3AjPJmyBuK7si72Lu\nMbwKVHvexobEPks4QMa+lUASAiX4M20z5GjtblhiW3cVYgWGWUWYX8PpasAq\nHi5S\r\n=9kzv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAOE8rSPiN6jPgvZfuCH8jEdzpn7+Dla3qIV+W3kOaaOAiATxX8KmqjISmCOv6gYiszdi3YnPlSUl0eJ47wzT9SNAQ=="}],"size":5838,"noattachment":false,"key":"/edge-paths/-/edge-paths-2.2.0.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_2.2.0_1611225162199_0.67231846811226"},"_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":1611225162378,"_cnpm_publish_time":1611225162378,"dist-tags":{"latest":"3.0.5"}}