Skip to content

Repository files navigation

hcloud-js

StandardJSLicenseDocumentation StatusTravisKnown Vulnerabilities

A Node.js module for the Hetzner Cloud API

Example

Create a client instance

constHetznerCloud=require('hcloud-js')letclient=newHetznerCloud.Client('API_TOKEN')

Build and create a server

const{ server }=awaitclient.servers.build('my-awesome-server').serverType('cx11').location('nbg1').image('debian-9').sshKey('work').create()

Documentation

Development

Quick setup

  • Clone this repo with git clone https://github.com/dennisbruner/hcloud-js.git
  • cd hcloud-js
  • Run npm install to install dependencies
  • Copy .env.dist to .env file and setup your access token. You can use this guide by Hetzner.

License

MIT

About

A Node.js module for the Hetzner Cloud API

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages