{"name":"edge-paths","version":"3.0.1","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/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"},"gitHead":"a711b9771d6f453476f50391bfc68773b42a9a84","bugs":{"url":"https://github.com/shirshak55/edge-paths/issues"},"homepage":"https://github.com/shirshak55/edge-paths#readme","_id":"edge-paths@3.0.1","_nodeVersion":"19.0.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-UyCCFLLLqiAlKbfWGmauKVtesZHeCWNYGOeEx4z3rjch4l5h6GN4gI+3SPa5eU3TWT18dUr9YRroR5QzcQ9QcA==","shasum":"24e59538b995fc78a3e6e574e909fb77b61a3eef","tarball":"http://registry-npm.ywwl.com/edge-paths/download/edge-paths-3.0.1.tgz","fileCount":5,"unpackedSize":9553,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAr5lMhMraXb7U/puTXlDBc4X0fijcsQ+QDiqqFh3KN+AiEAktO1+StuIL6Vt8dnMBseHR7x8Ci47qQUc2NONjl7jLw="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjtJDnACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrvIA//QqYhS5wTDoTcasAwxiafdEqEVC34GJxDLUv4c8wQohTdgBep\r\nOJKZTdFq3YOQMQlhndzZdlqs+MHqtzn8zS0bc4oUhkjNZINAhFutrkWiPJKk\r\nTV3IAW9GCaQ9zb355RjwriuuK0wdkCV5gXQJ+Fr14PdZgM8jKP/OVjX6TtNH\r\ndjReoevacUPZFs7EYfIHQ26U8feMe53ALmNhdx2wIDJwAapm0rEaHAtgdFWb\r\nG3Ns8fDzhJndqQAkeWZH3eR5dyfsXz4kQfRFfPuBNVAP+WuTAW+zXRkls/ej\r\nwIbZrR9IIrsMDWH8JKLAYlkb8Oaaw9XjhpstxRh4wmYgYCH34TdA1ExDG7EA\r\n9x7qsq4CsjHTxhRNH4RTfNiM0oF4SFg+lnHJF1GSEXykvDKAzgVViLzOm7Bd\r\nqUD2saxBaO96NINWvXfMecEINMAJIOjbeSJjAq1JoRhmVSsgAdqg6+J+GqJ6\r\n6IueyTXSnUYDnS0JJGeFE85NCyt376XoGao7qDTJ4P1J42HAteIGlr3bYnJb\r\nMY1o16vC5nZXOSh+nJH6Sa4Wbq0oQ8O4L5WAv5IosEuxe4yBoqOXhbGi8Lko\r\n5NrjXneYdJoA/wTS9cHf+bAZojwAZjEugLsn1D1S9PpUkC72gB4EaNNhUpu4\r\neyRZ19n5FOwPGNt25NkMMsNBCSGdk5x0rl0=\r\n=UqK8\r\n-----END PGP SIGNATURE-----\r\n","size":3076,"noattachment":false,"key":"/edge-paths/-/edge-paths-3.0.1.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.1_1672777959353_0.008733641395722191"},"_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":1672777959490,"_cnpm_publish_time":1672777959490,"dist-tags":{"latest":"3.0.5"}}