{"_id":"@appigram/cpanel-rest-api","_rev":"1-c1a45c5c5c5953083bcad4a87537b6d6","name":"@appigram/cpanel-rest-api","dist-tags":{"latest":"0.1.2"},"versions":{"0.1.2":{"name":"@appigram/cpanel-rest-api","description":"Node.js library for the cPanel/WHM API","version":"0.1.2","homepage":"https://github.com/appigram/cpanel-rest-api","scripts":{"test":"node test"},"repository":{"type":"git","url":"git+ssh://git@github.com/appigram/cpanel-rest-api.git"},"main":"src","license":"MIT","author":{"name":"Evgeny Sysmanov"},"dependencies":{"axios":"^0.21.0","builder-url":"^1.0.3","lodash":"^4.17.20"},"devDependencies":{"eslint":"^7.14.0","eslint-config-prettier":"^6.15.0","eslint-plugin-prettier":"^3.1.4","prettier":"^2.2.1"},"gitHead":"5a2e4440104549e0412c9bc0a14724688cc134c8","bugs":{"url":"https://github.com/appigram/cpanel-rest-api/issues"},"_id":"@appigram/cpanel-rest-api@0.1.2","_nodeVersion":"12.18.3","_npmVersion":"7.0.8","dist":{"integrity":"sha512-ADTm1MCyLbx238qRerlwmHeSI7pIs6NLaM8pfnu64MYF7KuMZVYSDG9sdsQLYzO2OUetwk4ZDwrj6zbvyVKAOg==","shasum":"369271c88cf8e4cc0f08958a5994ea0cc2c11577","tarball":"https://registry.npmjs.org/@appigram/cpanel-rest-api/-/cpanel-rest-api-0.1.2.tgz","fileCount":17,"unpackedSize":10030,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfxBfICRA9TVsSAnZWagAAWoMQAIBjxaQT1gRR1KIIfXNM\nIo4BfBEAiUAxV00AYgnVNBFEmEnh1wB9X4VXlk00XKuLewlAib1hQfXxb+fv\nA33IIG3AXPuqVOEKuP7JHtSZd6o8DWCce06XTUgzz2hk5xFrlKKbyhXISuNf\nZT4BK8Y2aTqfe7Hjak78hb6WWdpSxdIPcVpXSmg33zchaxIIyu1z5AGMYbWE\netQQ6U88jh/iPEVfNEmhla9XXiYGnwDt7uGZFcfBG5YjPnnA1rxkXH/fRzHz\nnypYIGxuhvrsrdff2lJJh98waVdOQFuO+FST+qEhmOJtPn9WmT6a7DHozFPP\nu8QVXv2owrSTokyp5yS+tqh6IgtFViP0LuFrkGLnb9UwBu+PDD6K4qdLh0aM\nLZQJT8qaN0ebsi97kXVXn9AFkVmgrJBJkEYSG6Pi7GDKTEk2pHgiz6FE8Urx\npERECiBhjBEBGkNlX2Dthp7PvbCKhuhRv2NxxHRZ9myuPFxc3iD43/MG2Lot\nqP/POXPTx6lFUTLB2xIdo9Qt1802MtCWJi8LV/SOYIuRq4dEbEyr03orNtR+\nCbfQ57yY/rrxqF+FmFnO33B/rrIqqgl+GycoQF1atseonDKY57S5/lWz5xI6\nC0tndcsznuWMGYtr+WCf2N3lezeZ+VN3rHWyqyLmz3BFlk1LEe2KFP0mbaD9\nE5t5\r\n=FbXI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDoBDWs7R7LndqYY72UigHfNbXM7cTF2IUM2AtOo5f5hQIgatt/iJ47QqKFbxiWMkz/EhxqbCJtVexkjLwUy9d2mFw="}]},"_npmUser":{"name":"appigram","email":"appigram@gmail.com"},"directories":{},"maintainers":[{"name":"appigram","email":"appigram@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cpanel-rest-api_0.1.2_1606686663930_0.25745262266903834"},"_hasShrinkwrap":false}},"time":{"created":"2020-11-29T21:51:03.889Z","0.1.2":"2020-11-29T21:51:04.054Z","modified":"2022-04-04T14:49:54.883Z"},"maintainers":[{"name":"appigram","email":"appigram@gmail.com"}],"description":"Node.js library for the cPanel/WHM API","homepage":"https://github.com/appigram/cpanel-rest-api","repository":{"type":"git","url":"git+ssh://git@github.com/appigram/cpanel-rest-api.git"},"author":{"name":"Evgeny Sysmanov"},"bugs":{"url":"https://github.com/appigram/cpanel-rest-api/issues"},"license":"MIT","readme":"Node.js library for the cPanel/WHM API\n=====\n\n## Instalation\n    $ npm install cpanel-rest-api\n\n## WHM Usage\n```js\nvar { WHM } = require('cpanel-rest-api');\n\nconst whm = new WHM({\n    host: 'whm.example.com',\n    username: 'WHM_USERNAME',\n    accessKey: 'YOUR_ACCESS_KEY'\n});\n\nwhm\n    .api('version')\n    .then(({ version }) => {\n        console.log('WHM Version: %j', version);\n    });\n\n// or\nwhm\n    .api({ action: 'listaccts' })\n    .then(res => {\n        console.log('Result: %j', res);\n    });\n\nwhm\n    .uapi('user')\n    .api({ module: 'Email', func: 'list_pops' })\n    .then(emails => {\n        console.log(emails);\n    });\n```\n","readmeFilename":"README.md"}