1.0.2 • Published 2 years ago

plesk.js v1.0.2

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 years ago

plesk-node

A simpler way to use the Plesk REST api

Authors:

ubarilan, idandev

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.