{"name":"edge-paths","version":"3.0.0","description":"Get the paths of edge browser easily","main":"dist/index.js","typings":"dist/index.d.ts","repository":{"type":"git","url":"git+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/main.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"},"gitHead":"9a2483bc9edd3e197f1e0fd126139854b6b9a4fe","bugs":{"url":"https://github.com/shirshak55/edge-paths/issues"},"homepage":"https://github.com/shirshak55/edge-paths#readme","_id":"edge-paths@3.0.0","_nodeVersion":"19.0.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-cegBdfNE+BIx5i3tpd+WylN/eBl5xBcAH2G9ZqbwySMDpjOAAudw4cdsG1iFkySHXuKJMmN3lN5Fjsy5FQzGxQ==","shasum":"c8d3c9296fdf2f4e2e1076ba5a0852f5cefd07cb","tarball":"http://registry-npm.ywwl.com/edge-paths/download/edge-paths-3.0.0.tgz","fileCount":5,"unpackedSize":9552,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDV6gYwWKjnop5DKKwJ0hfharsLzwB+OvbePxKGB1lofQIgBayEjmv5ONQVxrMmYUGBl8o26WpDMCA6OrVBOQe7VZ0="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjtI+/ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo7Aw//boLa64CbF9OS0XLmtpU73Sbxf6xPmqQVi3USDwBSlpipxuSi\r\nTBaTWvi/4+R2wlnwodJ1kGaYBjCg509t5fzy1beK3tLO5NvwbLVN+AoS1ufi\r\nsjEmIwJb5rNHfzvt84trdgPNHZARZhbtUYcd0MyYW3QxUCJk9BaSJm3V9b8Q\r\naL3sWRwlFGeGdj91hX6+Q4/I3tP9ZeX3BJmeB2bZi6SYs8n9UzLnBZ8g6EuP\r\np1OYv3/PMPuXIOG1QN2+jd65RsboLSZMFPv1xSmkqCzl2e5vLmYs/JDunYnY\r\nmhKhjFGWXbj5v/lmg6qEV+99z3ma2uf6BV0uPJINT4RYrFMpwf8rydIVn0Dl\r\nlGtd+Ca1CLmER0tNzLWSsEnYPEOkrIjx5Mctyi1lWdGllN/UPCUThxn5IN5a\r\npebATlHKNLjhu6m5HC62MVt2NvHssKtb8Es/JSlEbeKVihlYkyVE8uhsRGs/\r\noRNXFmEc/Xr8UVCrTktKKgX68ksRMEED7pC7acBRTM/5U7UgLS9uqFsyNLxG\r\nZs6yhzwjXdVKbOcm5v0d3Y1TCT8vmRpUHXXgYy6zHGRmFCfTWTgjl7Nm4Xwl\r\nMS5OrbDNio7J9w19GrsvUTCPPWPa6RFHPAYTe8UMtVHS+69isKD2bA8BeCKW\r\nCIYZco0S48UaKCeJM+PuL709et2dB0zMecQ=\r\n=rZp7\r\n-----END PGP SIGNATURE-----\r\n","size":3082,"noattachment":false,"key":"/edge-paths/-/edge-paths-3.0.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_3.0.0_1672777663700_0.7102830069916368"},"_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":1672777663878,"_cnpm_publish_time":1672777663878,"dist-tags":{"latest":"3.0.5"}}