12.0.1 • Published 2 years ago

tokiproxy.js v12.0.1

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

TokiProxy.js

TokiProxy.js is a Node.JS wrapper for the https://tokiproxy.co.uk/ proxy API.

How to use TokiProxy.js

const TokiProxy = require('tokiproxy.js');

const API = new TokiProxy();

API.getProxies('Proxy Type', 'API Key');

API.on('request', data => {
    console.log(data.proxies)
})

If using TypeScript it's a bit different, instead it would look like this:

import TokiProxy from 'tokiproxy.js';

const API = new TokiProxy();

API.getProxies('Proxy Type', 'API Key');

API.on('request', data => {
    console.log(data.proxies)
})