1.4.1 • Published 3 years ago

hcloud-js v1.4.1

Weekly downloads
76
License
MIT
Repository
github
Last release
3 years ago

hcloud-js

StandardJS License Documentation Status Travis Known Vulnerabilities

A Node.js module for the Hetzner Cloud API

Example

Create a client instance

const HetznerCloud = require('hcloud-js')
let client = new HetznerCloud.Client('API_TOKEN')

Build and create a server

const { server } = await client.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

1.4.1

3 years ago

1.4.0

3 years ago

1.3.1

4 years ago

1.3.0

4 years ago

1.2.0

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.0

6 years ago