node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »



CLI which will interact with the Digital Ocean API

npm install -g dig-oc

To initialise with your api token, or change token.

dig-oc --init

To list all of your current droplets.

dig-oc --droplets || -d

Returns a list of droplets you can delete.

dig-oc --delete

deletes a specific droplet where n is the id of given droplet.

dig-oc --delete -<n>

Create a new droplet.

dig-oc --create || -c