🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

ping-proxy

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ping-proxy

check HTTP proxies, check socks 4 / 5 proxies, socks proxy checker

latest
Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
3
-50%
Maintainers
1
Weekly downloads
 
Created
Source

node-ping-proxy

Simple Proxy Checker

Examples

To install the module: npm install ping-proxy

var pingProxy = require('ping-proxy');

pingProxy(
  {
      // Proxy Server Host
      proxyHost: '5.9.124.48',

      // Proxy Server Port
      proxyPort: 9378,

      // (optional)
      // SOCKS Protocol Type
      // Valid types: [4, 5] (note 4 also works for 4a)
      proxySocks: 5,

      // (optional) Test URL
      // (default: https://www.google.com)
      proxyTestUrl: 'https://kingproxies.com/'
  },

  // Callback function to be called after the check
  function (err, options, statusCode) {
    if (err) {
        console.log(err);
    }
    console.log(options, statusCode)
  }
);

License

MIT license.

Keywords

proxy

FAQs

Package last updated on 07 Sep 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts