fastgate
TypeScript icon, indicating that this package has built-in type declarations

6.1.0 • Public • Published

Fastgate provides free, secure, and easy-to-integrate proxy services for developers.

Powered By Nyro

Discord Buy Me A Coffee

Installation

Using npm:

$ npm install fastgate

Other Installations:

$ yarn add fastgate
$ pnpm add fastgate

Usage

import fastgate from 'fastgate';
    
/* Promise<ProxyAPIResponse> */
fastgate.getProxyList({
        country: ['tr'],
        protocol: ['http'],
        anonymity: ['Elite'],
        timeout: 5555
 }).then((response) => {
      console.log(response);
    });

/* Promise<ProxyObject | undefined> */
fastgate.getProxy({
   force: false,
   proxyOptions: {
     alive: true,
     timeout: (timeout) => {
      return timeout < 5000;
    },
     ip: (ip) => {
        return ip.startsWith('190');
    }
 }).then((response) => {
      console.log(response);
    });

License

fastgate is licensed under the GPL-3.0 License. See the LICENSE file for details.

Support

Discord Banner

Package Sidebar

Install

npm i fastgate

Weekly Downloads

1,168

Version

6.1.0

License

LGPL-3.0-or-later

Unpacked Size

525 kB

Total Files

24

Last publish

Collaborators

  • beykant