🚀 DAY 4 OF LAUNCH WEEK: Introducing GitHub Actions Scanning Support.Learn more →
Socket
Book a DemoInstallSign in
Socket

digital-ocean

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

digital-ocean

Node SDK for Digital Ocean.

latest
Source
npmnpm
Version
0.2.2
Version published
Maintainers
1
Created
Source

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.

Keywords

digital-ocean

FAQs

Package last updated on 18 Sep 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts