JavaScript library for the DigitalOcean API. For use in Node or the browser.
This library was built with a few goals in mind:
async
/await
.To use the library, install from the npm repository.
$ npm install --save digitalocean-js
# Alternatively install with yarn
$ yarn add digitalocean-js
Simply import the client and initialize it with your API token:
import { DigitalOcean } from 'digitalocean-js';
const client = new DigitalOcean('my-api-token');
To see all the services available, check out the documentation.
Generated using TypeDoc