{"name":"edge-paths","version":"2.0.0","description":"Get the paths of edge browser easily","main":"dist/main.js","typings":"src/main.ts","repository":{"type":"git","url":"http://github.com/shirshak55/edge-paths"},"author":{"name":"shirshak"},"license":"MIT","private":false,"scripts":{"watch":"tsc --watch","build":"tsc"},"devDependencies":{"@types/node":"^14.0.5","@types/which":"^1.3.2","typescript":"^3.9.3"},"_id":"edge-paths@2.0.0","dist":{"shasum":"73f1198d003091394a744ab0026e1b6140b0c877","integrity":"sha512-gfuhAOuvFC21H0BcIFwfg2yLOSz54r4pywxPaRYruHiXT1zZLsAx16KfqpaGyOEK2e/TbV/IRc55XL1aOIWLkw==","tarball":"http://registry-npm.ywwl.com/edge-paths/download/edge-paths-2.0.0.tgz","fileCount":10,"unpackedSize":13665,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe0RSTCRA9TVsSAnZWagAAyAYP/jzUak85TB6rCWzg6Ksa\n8TBUeRZI/DOo507HAeDq8sn79zDAHA3/4J1+UubKMfzBKC9wO8UW5GVXytIe\nmvm0J1mWKrLhEJ9+XI+JQXoQa9duOMjsDAYZL6y95I618fKP5OuvWWR5xtEf\n7HUL1VZyn0STUSBJ7oD+YEOnXhbvRz8m3hbhHagjWHczaYpZ9KuIZvscisZc\nd7cz2Zc3vE+Hf2QTAcqFgoHFOTQBvULxMWpi5sRbY9CE+kjsp3670cLKaTWM\nqZ+jMWY5PYf5g/5GrhZySomQrxdvx8xkNJPMh4jI+Ur9ppXDITS7K6zpz/1a\nH1QXalNiLpfSEy81xKl4tI765KY5fDXg6QnRbduddIeMu37HGDAwN7k1jL14\nHswoRI4O1PpwokCzWnlJ5jsCvZYHjjXK/D168hlHVplYOkHvncFILkD1B6Zp\nDBXKggxI7VjU7lr7BLvyUg/VH0dz60vanjm+oDiO5GrDe7pow1fm6wdvP643\nfNurfkJNpd+RZwObAQ4v4AuVZMtJZM/9p8k7D0AOvjUs2AowyKgIcUgMM7wH\n9knrEcfmM+QOOQZuUV7i87wzi5p43BsG9Uvki/WI+l2HBFgTiKODCZwDBL7p\n02axMD+AJ+4yOnnk1axW2j656RHrbANJpANA/nZCgqC9dUMAttZ+0eetI/UC\nCblY\r\n=EzuS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCwoj5aAF9x/OFpsCDE8T6Tt4AqremzkpYQhEcKaQHdIAIgAR307mI0tBPLGjQi3zZSw01u/mPOHSYvwxIt9fh7Zv4="}],"size":4273,"noattachment":false,"key":"/edge-paths/-/edge-paths-2.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_2.0.0_1590760594666_0.7853221805843669"},"_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":1590760594773,"_cnpm_publish_time":1590760594773,"dist-tags":{"latest":"3.0.5"}}