{"name":"edge-paths","version":"1.0.4","description":"Possible paths or binary names of Chrome, Chrome Canary and Chromium in the current platform","author":{"name":"Shirshak Bajgain","url":"https://github.com/shirshak55"},"repository":{"type":"git","url":"https://github.com/shirshak/edge-paths.git"},"license":"MIT","scripts":{"test":"node test.js"},"types":"./index.d.ts","engines":{"node":">=10"},"keywords":["edge","darwin","macos","linux","windown","cross-platform","path","paths","locate","location","executable"],"dependencies":{"karma-edge-launcher":"^0.4.2"},"devDependencies":{},"eslintConfig":{"extends":"@shinnn"},"licenseText":"MIT License\n\nCopyright (c) Shirshak Bajgain <shirshak55@protonmail.com> (github.com/shirshak55)\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.","_id":"edge-paths@1.0.4","dist":{"shasum":"75b1116311e7c450de422f3734173163ad294025","integrity":"sha512-gMSP8vD0RQX06CjnqZyKXxrqAasYPhF2fW1M2nc8+vXcARuT19wfwTZoltpavv4G2lYLNxJCKLEUSJhoDVGU0w==","tarball":"http://registry-npm.ywwl.com/edge-paths/download/edge-paths-1.0.4.tgz","fileCount":6,"unpackedSize":3923,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeLa3/CRA9TVsSAnZWagAA5rAP+wfs6yP7x/3qt/pNjbuP\nAzQkQaySEhQ6kfJbBHxRF/BcBqXvn0j+KHIO6pcMPVhKttwNdQavyDp0ikOr\nKRGvwG9Fokvm4UWx9cKAK2wG3C5uQoxlKgDn01m/QL/rK23xZDA0UWLt/2Ry\nO/IPcl/q0TyKr6IYWBONngFSL9yowJoKMOIqjWbjv6i92X4TGqxxpJbmdGP9\nFFqQuO07UOaSXrCF96gy+KUBSPHBhRUU5LYqP0V4Sqlu/qor1Bi74xQhrxqr\n+RHnkqUiqMUDlccnZrNzMrO/1bgezZUOs4rgS3ZI1A5HP837K+7pnLmiOrvV\nhUMhx9tK8fpmA2HGL0S5uAU7Sp8bAM/JsoUdUK6T+2kkSA+hsxbl0XRT6zOl\n8lPpXDUbVc0JiZt6OOZP5qzB7A7DhF4OiDYQCa2al86J9VTbUShA4/sQbWmS\nLJX8zwj8y9fBf+Hy68zgIxbCCNezOTQr0Mbnl9CTb87v56vuPsROYtXlsEBS\n0UfF+ovRarXQqbync0muEUdei7ZsEsioqZ6OO4Anynm+K5ErvEgdd0EiBAel\nnifj8Kex9Vq1rZStyAhLAkx4tbVoUJW8mfXGtfINRRDFAaYIXBx+sc3mGFJ3\ng9Vv7yLeLU/R0PSXqYi5U06Q/L5XIvEf9xGi3GRfF00c7k2LnFYXh9imZSeY\n67Gc\r\n=YDp/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC4jl6DnOKaj2IeICN4tllYEtU1COxGM1rwO79VO3F4wAIgdK4mN8YwiB+9jgx36apoE1tuJJ0XzJyP5AJlyvhS3bY="}],"size":2134,"noattachment":false,"key":"/edge-paths/-/edge-paths-1.0.4.tgz"},"maintainers":[{"name":"shirshak","email":"shirshak55@gmail.com"}],"_npmUser":{"name":"shirshak","email":"shirshak55@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/edge-paths_1.0.4_1580051967347_0.927551529318841"},"_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":1580051967453,"_cnpm_publish_time":1580051967453,"dist-tags":{"latest":"3.0.5"}}