1.0.3 • Published 3 years ago

@androz2091/whmcs.js v1.0.3

Weekly downloads
8
License
MIT
Repository
github
Last release
3 years ago

whmcs.js

Simple wrapper to simply the use of the WHMCS API. TypeScript is supported!

Installation

npm install @androz2091/whmcs.js
# or
yarn add @androz2091/whmcs.js

Example

const WHMCSClient = require('@androz2091/whmcs.js');
const whmcs = new WHMCSClient('identifier', 'secret', 'https://example.com/whmcs');

whmcs.request('WHMCS action', 'POST', {
    someParam: 'some value'
});