1.0.3 • Published 4 years ago

proxmoxconnection v1.0.3

Weekly downloads
2
License
BSD-3-Clause
Repository
-
Last release
4 years ago

ProxmoxConnection.js

A JavaScript class to work with the Proxmox API from the browser or a node.js application.

What is this?

Managing Proxmox is hard, working with it's API? Even harder! This package should make things a little easier :-)

Usage

This package is published to NPM so installing it is simple as running npm i proxmoxconnection from your prefered shell.

const { ProxmoxConnection } = require('proxmoxconnection');

require('proxmoxconnection').ProxmoxConnection;

const proxmoxConnection = new ProxmoxConnection(
    "https://my.proxmox.host.local:8006/",
    "root",
    "password",
    "pam"
);

proxmoxConnection.generateTicket();

proxmoxConnection.HttpPost(
    '/nodes/proxmox/lxc/100/status/reboot',
    '');

Contributing

This project is still in early stages. You can help by Opening an issue or by contributing patches through a merge request.

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago