1.0.6 • Published 2 years ago

proxies-generator v1.0.6

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

About

Free Proxies Generator is a Generator/Scrapper and Helps Players to fetch Proxies from Custom Scrappers , as Per reduces extra work and credentials.

  • Object-oriented , means Value returned in a structure format
  • Customisable Validator
  • Performant

Installation

Node.js 16 or newer is required.

npm install proxies-generator

Example usage

Fetch proxy :-

import { fetch, fetchOne } from 'proxies-generator'
                OR
const { fetch, fetchOne } = require('proxies-generator')

const Proxies = fetch() // Proxy Array with validity checks
/**
 * [
 {
  ip: String
  port: String
  code: String
  country: String
  type: String
  updated: String
  https: Boolean
  httpsurl: String
  url: String
},
]
 */

const Proxy = fetchOne() //Fetch One Proxy
const Proxy = fetchBycountry('Brazil') //Fetch Proxy from brazil if present in Cache
const Proxies = random() //Fetch Array of Random Proxy
const Proxy = randomOne() //Fetch One Random Proxy

Strucutre of Proxy

Proxy = {
  ip: String
  port: String
  code: String
  country: String
  type: String
  updated: String
  https: Boolean
  httpsurl: String
  url: String
}

Links

Contributing

Before creating an issue, please ensure that it hasn't already been reported/suggested, and double-check the ReadMe.md

Help

If you don't understand something in the ReadMe.md , you are experiencing problems, or you just need a gentle nudge in the right direction, please don't hesitate to join our official Support Server.