Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

digitalocean-api

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

digitalocean-api - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

14

lib/digitalocean.js

@@ -349,2 +349,14 @@ var extend = require('xtend');

});
};
};
/**
* Show event
* This method returns details of a event
* @param {[type]} id [description]
* @param {Function} callback [description]
*/
Digitalocean.prototype.eventGet = function(id,callback){
this.get('events/' + id ,{},function(error,body){
callback(error,body.event);
});
}

2

package.json
{
"name": "digitalocean-api",
"version": "0.0.3",
"version": "0.0.4",
"author": "Matej Simek <email@matejsimek.cz>",

@@ -5,0 +5,0 @@ "description": "DigitalOcean API wrapper",

@@ -87,2 +87,7 @@ # digitalocean-api

regionGetAll(callback)
```
```
### Events
```js
eventGet(id, callback)
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc