proxycheap.js

2.2.0 • Public • Published

proxycheap.js

axios

GitHub stars npm

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

Installation

• Download NodeJS and get NPM

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

Documentation

See the API documentation
See the changelog

Example usage

The library can be used in both CommonJS and ES Modules

Using the library

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()

Credits

proxy-cheap

Copyright

See the license

Readme

Keywords

Package Sidebar

Install

npm i proxycheap.js

Weekly Downloads

12

Version

2.2.0

License

MIT

Unpacked Size

26 kB

Total Files

10

Last publish

Collaborators

  • lockblock-dev