🚀 Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign in
Socket

hcloud-js

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hcloud-js

A Node.js module for the Hetzner Cloud API

latest
Source
npmnpm
Version
1.4.1
Version published
Maintainers
1
Created
Source

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

Keywords

hetzner

FAQs

Package last updated on 06 Mar 2021

Did you know?

Socket

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.

Install

Related posts