Socket
Socket
Sign inDemoInstall

edge-paths

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

edge-paths - npm Package Compare versions

Comparing version 2.2.1 to 3.0.0

dist/index.d.ts

62

package.json
{
"name": "edge-paths",
"version": "2.2.1",
"description": "Get the paths of edge browser easily",
"main": "dist/main.js",
"typings": "src/main.ts",
"repository": "http://github.com/shirshak55/edge-paths",
"author": "shirshak",
"license": "MIT",
"private": false,
"scripts": {
"watch": "tsc --watch",
"build": "tsc"
},
"devDependencies": {
"@types/node": "^14.0.5",
"typescript": "^3.9.3"
},
"dependencies": {
"@types/which": "^1.3.2",
"which": "^2.0.2"
}
"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": "shirshak55/edge-paths",
"funding": "https://github.com/sponsors/shirshak55",
"author": "shirshak",
"license": "MIT",
"private": false,
"type": "module",
"files": [
"dist/index.js",
"dist/index.d.ts"
],
"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"
}
}

@@ -12,12 +12,12 @@ # Edge Paths

- Well Documented
- Well Tested
- Used by popular players
- Written with Love <3
- Fully open sourced
- Well Documented
- Well Tested
- Used by popular players
- Written with Love <3
- Fully open sourced
### Usage
- At the moment linux support is only avail for dev channel. Once canary, beta and stable version are release
we shall update the package.
- At the moment linux support is only avail for dev channel. Once canary, beta and stable version are release
we shall update the package.

@@ -27,10 +27,10 @@ ###### Javascript

```javascript
let {
getEdgeBetaPath,
getEdgeCanaryPath,
getEdgeDevPath,
getEdgePath,
getAnyEdgeStable,
getAnyEdgeLatest,
} = require("edge-paths")
import {
getEdgeBetaPath,
getEdgeCanaryPath,
getEdgeDevPath,
getEdgePath,
getAnyEdgeStable,
getAnyEdgeLatest,
} from "./dist/index.js"

@@ -70,3 +70,8 @@ console.log(getEdgeBetaPath())

```typescript
import { getEdgeBetaPath, getEdgeCanaryPath, getEdgeDevPath, getEdgePath } from "edge-paths"
import {
getEdgeBetaPath,
getEdgeCanaryPath,
getEdgeDevPath,
getEdgePath,
} from "edge-paths"

@@ -94,19 +99,19 @@ console.log(getEdgeBetaPath())

```javascript
let {
getEdgeBetaPath,
getEdgeCanaryPath,
getEdgeDevPath,
getEdgePath,
getAnyEdgeStable,
getAnyEdgeLatest,
} = require("edge-paths")
import {
getEdgeBetaPath,
getEdgeCanaryPath,
getEdgeDevPath,
getEdgePath,
getAnyEdgeStable,
getAnyEdgeLatest,
} from "./dist/index.js"
```
- `getAnyEdgeStable` or `getAnyEdgeLatest` might be more useful if you don't want any specific version.
- `getAnyEdgeStable` or `getAnyEdgeLatest` might be more useful if you don't want any specific version.
## Used By
- [devtools](https://www.npmjs.com/package/devtools)
- [devtools](https://www.npmjs.com/package/devtools)
- Please send PR if you are using edge paths. We will be accepting first 10 request.
- Please send PR if you are using edge paths. We will be accepting first 10 request.

@@ -113,0 +118,0 @@ ## License

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc