0.2.2 • Published 8 years ago
digital-ocean v0.2.2
digital-ocean
Node SDK for the Digital Ocean v2 API.
Getting Started
Install digital-ocean using yarn:
yarn add digital-oceanUsage
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.