Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
dz-node-whm
Advanced tools
Readme
WHM API 1 for NodeJS
This is a library that allows you to remotely control your web hosting server that is running cPanel.
This library is built for personal use. If you would like to use it and there is a missing feature, please submit an issue on the Github repo and I will do my best to add it ASAP.
To build this, run tsc
at the root directory. Or install via npm npm install dz-node-whm
var WHM = require('dz-node-whm');
var whmClient = new WHM.Client({
serverUrl: 'https://myserver.com:2087',
remoteAccessKey: 'remoteAccessKeyHere',
username: 'resellerOrRootUser'
});
whmClient.createAccount({
username: 'myuser',
password: 'mySecurePassword!',
plan: 'Pro',
domain: 'clientdomain.com'
}).then(
function(success){
console.log(success);
// do something with data
},
function(error) {
console.error(error);
// do something with data
}
);
import { Client, WHMOptions } from 'dz-node-whm';
const whmClientOptions: WHMOptions = {
serverUrl: 'https://myserver.com:2087',
remoteAccessKey: 'remoteAccessKeyHere',
username: 'resellerOrRootUser'
};
const client: Client = new Client(whmClientOptions);
client.createAccount({
username: 'myuser',
password: 'mySecurePassword!',
plan: 'Pro',
domain: 'clientdomain.com'
}).then(
success => {
console.log(success);
// do something with data
},
error => {
console.error(error);
// do something with data
}
);
createAccount(options: CreateAccountOptions): Promise<any>
terminateAccount(user: string): Promise<any>
listAccounts(): Promise<AccountData[]>
listIPAddresses(): Promise<any>
TypeScript
WHMOoptions
CreateAccountOptions
AccountData
FAQs
a WHM API 1 for NodeJS
The npm package dz-node-whm receives a total of 0 weekly downloads. As such, dz-node-whm popularity was classified as not popular.
We found that dz-node-whm demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.