plesk.js

1.0.2 • Public • Published

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.

Package Sidebar

Install

npm i plesk.js

Weekly Downloads

1

Version

1.0.2

License

Apache-2.0

Unpacked Size

6.76 kB

Total Files

5

Last publish

Collaborators

  • eiskalterfreund