3.1.6 • Published 6 years ago

civocloud v3.1.6

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

civocloud-nodejs

GitHub issues GitHub license GitHub (pre-)release David David Travis Maintainability Test Coverage Known Vulnerabilities

This module is for accessing the v2 civo API which is documented here

v2 of this module has made some changes to the layout of some functions so if you are upgrading you may have to make some changes

installation

  1. install npm
  2. npm install civocloud --save

table of contents

getting started

this package uses native ES6 promises for all api calls.

to use civocloud-nodejs you first need to supply the api token:

const { Civo } = require('civocloud');

const civo = new Civo({ apiToken: 'apiToken' });

a simple example of calling one of the APIs is:

const { Civo } = require('civocloud');

const civo = new Civo({ apiToken: 'apiToken' });

civo.listInstanceSizes().then((sizes) => {
  console.log(sizes);
}).catch((err) => {
  console.error(err);
});

api functions

The api functions are now documented on the API page

Other info

This package is not an official package from civo and has not been made by them as it is just an abstraction layer to the civo API.

3.1.6

6 years ago

3.1.5

6 years ago

3.1.3

6 years ago

3.1.2

6 years ago

3.1.1

6 years ago

3.1.0

6 years ago

3.0.1

6 years ago

3.0.0

6 years ago

2.1.1

7 years ago

2.0.0

7 years ago

1.12.1

7 years ago

1.11.0

7 years ago

1.10.1

7 years ago

1.10.0

7 years ago

1.9.1

7 years ago

1.8.0

7 years ago

1.7.2

7 years ago

1.6.2

7 years ago

1.5.6

7 years ago

1.5.5

7 years ago

1.5.4

7 years ago

1.5.1

7 years ago

1.5.0

7 years ago

1.4.4

7 years ago