plesk-node
v1.0.1
Published
A simpler way to use the Plesk REST api
Downloads
6
Readme
plesk-node
A simpler way to use the Plesk REST api
Authors:
How to install:
npm install plesk-node
Github repository: github.com/ubarilan/plesk-node
Example of usage:
import PleskClient from "plesk-node";
// You can also use: const PleskClient = require("plesk-node")
const plesk = new PleskClient(
"hostname:8443", // hostname + port of Plesk panel.
"apikey/base64 of username:password", // https://www.base64decode.org/ you can use this website to create your base64 api key.
["1.1.1.1"], // IPs list
"admin" // Default owner of all accounts created by this module.
);
plesk.getIPs().then((ips) => console.log(ips));
© Hostar 2021.