{"name":"edge-paths","version":"3.0.5","description":"Get the paths of edge browser easily","main":"dist/index.js","typings":"dist/index.d.ts","repository":{"type":"git","url":"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/index.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"},"licenseText":"MIT License\n\nCopyright (c) 2020 Shirshak\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"edge-paths@3.0.5","dist":{"shasum":"9a35361d701d9b5dc07f641cebe8da01ede80937","integrity":"sha512-sB7vSrDnFa4ezWQk9nZ/n0FdpdUuC6R1EOrlU3DL+bovcNFK28rqu2emmAUjujYEJTWIgQGqgVVWUZXMnc8iWg==","tarball":"http://registry-npm.ywwl.com/edge-paths/download/edge-paths-3.0.5.tgz","fileCount":7,"unpackedSize":9568,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDioCd/05U9bx0HxejEgmdX7hsALkBjiKkl2DmNL+XhyQIgJOYZFTqyKJuWgcJg4hJD31xTdFaysb5Zrl7WSNKj+PI="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjtJhoACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqVYRAAhsn7VEUgFIups6SfU/e9aun/Xvr0Z9JhZSGOAgc+uIyY0m8h\r\nKTwESaontCJPk165VccL3Z5QGpA1JkIqNlOAsP7SPj3taoIu6ibwMR8050wZ\r\n9wZVauC63jmh+5mXnRpbkPcfO00smFA3bp47+7S48Xojmb4VkySR1icGR3Xl\r\nGlr+oJGEeBvj2HV3GAD3yIZYdRbObbQxayMFB7t6pHd8RVhVBE2oxAkMN6+q\r\nrvpD1ABpMGKdnIRpI84ygPERTYRaWuesT0RpWvmpLdsyg4+5Jgx5zImNK5eI\r\ncmjpQMbEbaQmf9tCjbfoUtJk35hilvOGqaKxrzs+7Lrqc7KT4+urqvGse3in\r\nJaY54mk0jS9Iaq++ptWn2fx7Ad7nFnMCaMQtuIn+cumBeVUR1+91hM8RALN4\r\nIYR3bNB9DDgOWSf70qaXjwkjEgH+dXejf/feef0gctglAoWWsRRLLyfg54vT\r\nQ2mTwaq1ksLld7ACl2zn+Li6mKXNkB0qKJyK3hhAx2AwOSYnI08CRg7NUbRl\r\ng/79l1Kn+4HGecLMj/M1KkTb9iig+a2TSnmk2Eng4DWG+bNGHDBlFaRhNbCV\r\nQau1Q/JHkY9msCk55el90QjPNjclF42IWptMad0WPsUHRKqVXu1ogKFaVA6M\r\nN3IiHK8dz+x1AGO7zjl2FdNsjqc+lSyqnG0=\r\n=fQBP\r\n-----END PGP SIGNATURE-----\r\n","size":3165,"noattachment":false,"key":"/edge-paths/-/edge-paths-3.0.5.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.5_1672779880153_0.41866998123097"},"_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":1672779880308,"_cnpm_publish_time":1672779880308,"dist-tags":{"latest":"3.0.5"}}