0.0.7 • Published 1 year ago

@rackn/digitalrebar-api v0.0.7

Weekly downloads
-
License
APLv2
Repository
-
Last release
1 year ago

@rackn/digitalrebar-api

Provides a basic TypeScript API wrapper over RackN Digital Rebar. This API was generated by .

Install

npm i @rackn/digitalrebar-api

Importing

Node:

const DRApi = require('@rackn/digitalrebar-api');

ES6:

import DRApi from '@rackn/digitalrebar-api';

Usage

const drp = new DRApi('my-endpoint');

// authenticate with a token
drp.setToken('my-token');

// or, authenticate with a username and password
drp.setLogin('username', 'password');

// ...

const cluster: DRMachine = { ... };
await drp.clusters.create(cluster);
4.13.0

8 months ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago