1.0.5 • Published 6 months ago

proxy-checker-advanced v1.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

proxy-checker-advanced

proxy-checker-advanced is an advanced proxy checker which stores the index of the last working proxy so you could get to the next proxy when you need to without going through the old non working proxies again!

ATTENTION

This module only supports HTTP proxy checking for now, socks5 will be added soon Theres no support for authentication. It will be added soon

Usage

First install the module

npm i proxy-checker-advanced

Example of functions that can be used with this module

const ProxyChecker = require('proxy-checker-advanced');
const proxycheck = new ProxyChecker(["proxy", "here"]); 
// proxies to be checked should be provided in the format like this
// protocol://host:port
// for ex: http://127.0.0.1:8080
(async ()=>{
    console.log(await proxycheck.checkAllProxies()); 
    /* checks all proxies and returns an array of json objects in following format
    {
        protocol:"",
        host:"",
        port:""
    }
    */
    console.log(await proxycheck.checkNextProxy(1));
    /*
        returns an arary of json objects containing the number of proxies requested by
        providing the number as parameter of function with the same format as checkAllProxies method
    */
})();
1.0.5

6 months ago

1.0.4

6 months ago

1.0.3

6 months ago

1.0.2

6 months ago

1.0.1

6 months ago

1.0.0

6 months ago