.gitea/workflows | ||
.vscode | ||
test | ||
ts | ||
.gitignore | ||
npmextra.json | ||
package.json | ||
pnpm-lock.yaml | ||
readme.md | ||
tsconfig.json |
@apiclient.xyz/hetznercloud
an unofficial api client for the hetzner cloud api
Availabililty and Links
Status for master
Usage
A modern approach to talking to the hetzner API.
// assuming top level await here
import hetznerCloud from '@apiclient.xyz/hetznercloud'
const myhetznerAccount = new hetznerCloud.HetznerAccount('myToken');
const servers = await myhetznerAccount.getServers();
for (const server of servers) {
await server.delete();
}
Legal
MIT licensed | © Task Venture Capital GmbH | By using this npm module you agree to our privacy policy