Skip to content

civo/civojs

Repository files navigation

Node.js Package

civots

Typescript client for Civo API

import { Civo } from 'civojs';

const client = new Civo({
  apiKey: '<CIVO_API_KEY>',
  regionCode: '<REGION_CODE>', // 'NYC1' by default
});

const network = await client.networks.getDefault();

const clusters = await client.kubernetes.listClusters();

const cluster = await client.kubernetes.createCluster({
  name: 'mycluster',
  network_id: network.id,
});

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published