proxy-check
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -27,2 +27,4 @@ const http = require('http'); | ||
} | ||
} else { | ||
proxy = p; | ||
} | ||
@@ -29,0 +31,0 @@ } |
{ | ||
"name": "proxy-check", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "Check proxy for NodeJS", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -6,3 +6,11 @@ # Check proxy | ||
proxy_check('y0adXjeO:pAzAHCr4@54.82.74.24:5557').then(r => { | ||
const proxy = { | ||
host: '54.82.74.24', | ||
port: 5557, | ||
proxyAuth: 'y0adXjeO:pAzAHCr4' | ||
}; | ||
// or | ||
// const proxy = 'y0adXjeO:pAzAHCr4@54.82.74.24:5557'; | ||
proxy_check(proxy).then(r => { | ||
console.log(r); // true | ||
@@ -9,0 +17,0 @@ }).catch(e => { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3202
75
22