{"name":"edge-paths","version":"2.2.1","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","typescript":"^3.9.3"},"dependencies":{"@types/which":"^1.3.2","which":"^2.0.2"},"gitHead":"cf1dd7431574d46683947f8a31397fefcb89fba2","bugs":{"url":"https://github.com/shirshak55/edge-paths/issues"},"homepage":"https://github.com/shirshak55/edge-paths#readme","_id":"edge-paths@2.2.1","_nodeVersion":"15.6.0","_npmVersion":"7.4.0","dist":{"integrity":"sha512-AI5fC7dfDmCdKo3m5y7PkYE8m6bMqR6pvVpgtrZkkhcJXFLelUgkjrhk3kXXx8Kbw2cRaTT4LkOR7hqf39KJdw==","shasum":"d2d91513225c06514aeac9843bfce546abbf4391","tarball":"http://registry-npm.ywwl.com/edge-paths/download/edge-paths-2.2.1.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\nwsFcBAEBCAAQBQJgCaU3CRA9TVsSAnZWagAAh3cP/1OiXDDBu2XhdFGY84QN\n/OuczAGEYLtMKnEzs/LMQLbZKpFe0s3BjLiML9gy4Af08/GL9xpfn1ZPv+V0\nG5cQRzoaZlHcsMbK/ZsAlJRjYqOEZzbWtC/H/JrJcVUnstaXQajBe1Z373En\nc0lZaMfYbgvLNjeczOz5bQZRJiLPo84i4Lgm8/4gGud6kEKtxo4Vma3TUssy\nhkyJgCNQ4khR4muidkBaryhgeuyHUb539dqeZtwUmNjFsZ+1qML5cx/TmR/w\n03+fRTss2nU64f1ENRQyS1TG6V65VmGzsKzB/BDY1h3V/LP0fWDmyTm1DDm0\nTUkFxFp+Rbkj/0nLoJiTnOEBVSyoodA92retwoYb5CB3Oaz0fhE0ZyseA0vd\nYYTQrHdQX9sbCx0me0qk/m9Kg8m4bQljJozdMZwzHxOXzNbOZoPv2oQBL/bd\nts8I5m8GmOcM0ml4BHkWM94F6L7dx8jk/vPHhAqMVjCSJiJcdDG4QhSzzisP\nP/jlmW6mOCwCeXA7VKG0rqWKLXjAnz7rRKsk42KPj1KeMuyeuHZ0cpt3lhSH\nLAxp3dWwyqqEEDH9Y7RwaFtNCvSiFoiI+1Ma8IhA+kjSoR33433UXu4uVVUZ\nmBgEcPD2AiDHw1vGzJb1091oiLyvxhic9QLDuvMv2+k6RSmFj52ESG5HSIuW\npBT4\r\n=gvc5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDuV5OayZFSD9CiZk6QqsCtNYRtcttMOCMB9CLGtbiTLgIhAOicajS60GRUd34eBZb4SAoLTNj8RPsLKeIYlWO3rgIp"}],"size":5836,"noattachment":false,"key":"/edge-paths/-/edge-paths-2.2.1.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.1_1611244854838_0.05221804339371072"},"_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":1611244854964,"_cnpm_publish_time":1611244854964,"dist-tags":{"latest":"3.0.5"}}