{"name":"edge-paths","version":"1.0.0","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":"ISC","scripts":{"test":"node test.js"},"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":"ISC License (ISC)\nCopyright 2018 - 2019 Shirshak Bajgain\n\nPermission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n","_id":"edge-paths@1.0.0","dist":{"shasum":"99de68cd2f16e3f5ea67ebc968f2f0a3096e948a","integrity":"sha512-f5JWzh4UgVLxqlhIBVEDcyMDgkgSDAi2CC/LwyM3sCPCmjCsXzFu5wfp/HaTdzZ9/k/J9U7bNN+q1H6FKjJiaw==","tarball":"http://registry-npm.ywwl.com/edge-paths/download/edge-paths-1.0.0.tgz","fileCount":5,"unpackedSize":3423,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeLadSCRA9TVsSAnZWagAA6HcP/iH1wLaS/Al2yuTjC9fj\ngAwwNyMqiS6KR+mIs5YOhepoOlIec2kdiRslV9VCED+eespT89vvk6Lgspx0\n3L8OroBPlzCdPkN2od9bC65GSq7uHnE01TuZbopCH4lBBBIDTAvXTpkkxTCP\n31vz9fBthEUc4HyGBW02NImQ7zZjM1e6ksCny/fQdbTpimYCWViZh8d7xgv+\n8ozUXcPKm+d/JaPTwHjpNJpctHkrzECIOKn9uOOACONVT9QDZo03m4PxJnIr\nXQNuoD9Y4nhKUoVGLz8J+wkteVuZuzwVYsOuyiFJNJRM2O89yyi6Hc/B25Fh\noVDE2kuuEkFdMu2MvJealdeXh1Wwa83Jm+UWo+ICW3NWFHkGbp7NYHAbBmMV\n+/ZKgYDVaS2FYmAZvepCxKPkRWIlX5iu6IxWFm1degzEzMu3SyyXSNbDqP0q\nmi/znoewpdrL5E+N2mov5LYCR5ZgRLmBSqzHEMRsh2YhO9uOBmI4ycmXmoWG\nRjtOXeeOVFsRSNSKfmUekCsYCccN8NTF6e2iSE9JDmePOfaSHsN0xUjuORTa\nKHxytQnN+uDRKJZHy9U0bcJp1fv/33GtMJEZuvPg9wEXbIdaSjhQfvot9Ais\nERNXy3AUX1OPu195LoQtLJ48SkwfcKuqLrE1YLjy9x8M8i5wkoDEsC/tODmS\n1Yxi\r\n=QXgm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICWgmSoEVbBtkuO760rBllCt1Ogcoctft6xvAWCl15J3AiEA2p7VUg3F7G2vYZogYJmVL075TN7cykmnz+QyhLwE3Ko="}],"size":1880,"noattachment":false,"key":"/edge-paths/-/edge-paths-1.0.0.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.0_1580050257895_0.09828891423380526"},"_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":1580050258028,"_cnpm_publish_time":1580050258028,"dist-tags":{"latest":"3.0.5"}}