0.2.2 • Published 7 years ago

digital-ocean v0.2.2

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

digital-ocean

npm npm npm

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.