A Node.js module for the Hetzner Cloud API
A Node.js module for the Hetzner Cloud API
const HetznerCloud = require('hcloud-js')
let client = new HetznerCloud.Client('API_TOKEN')
const { server } = await client.servers.build('my-awesome-server')
.serverType('cx11')
.location('nbg1')
.image('debian-9')
.sshKey('work')
.create()
git clone https://github.com/dennisbruner/hcloud-js.git
cd hcloud-js
npm install
to install dependencies.env.dist
to .env
file and setup your access token. You can use this guide by Hetzner.