0.0.8 • Published 5 years ago
web-proxy-pool v0.0.8
proxy-pool
proxy-pool is http ip proxy pool,can get ip proxy info ,and return to pool
installation
$ npm install web-proxy-pool
example
const HttpProxyPool = require("web-proxy-pool");
const KaidiProxySupplier = require("./supplier/KaidiProxySupplier");
const pool = new HttpProxyPool(new KaidiProxySupplier());
(async () => {
const result = await this.pool.getProxy();
console.log(result);
})();