proxycheap.js is a Node.js module that allows you to easily interact with the proxy-cheap API.
• Promise based
• Performant
• 100% coverage of the proxy-cheap API
With GitHub :
• Download the project or clone it
• Go to the proxycheap.js folder and do npm install
• Require the client.js
With NPM :
• Download the project
• Do npm install proxycheap.js
• Require the library
See the API documentation
See the changelog
The library can be used in both CommonJS and ES Modules
Create an API key here.
const { Client } = require("proxycheap.js");
//OR
import { Client } from "proxycheap.js";
const client = new Client("API_KEY", "API_SECRET");
client.balance().then((data) => console.log(data.balance));
//OR
const myFunc = async () => {
const { balance } = await client.balance();
console.log(balance);
};
myFunc();
The library is async, be sure to use async functions or .then()
See the license