digital-ocean
v0.2.2
Published
Node SDK for Digital Ocean.
Downloads
14
Maintainers
Readme
digital-ocean
Node SDK for the Digital Ocean v2 API.
Getting Started
Install digital-ocean
using yarn
:
yarn add digital-ocean
Usage
import DigitalOcean from 'digital-ocean';
const run = async () => {
const client = new DigitalOcean({token: '<YOUR API TOKEN>'});
const droplet = await client.createDroplet({
// Options are passed here.
});
console.log(droplet);
};
run();
Contributing
If you have any ideas on how this module could be better, create an Issue or submit a PR.