Package Exports
- vultr-api-es6
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (vultr-api-es6) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
nodejs-vultr-api
ES6 based library for the Vultr API generated from the online docs.
Installation
npm install vultr-api-es6Usage
// Import the Vultr API wrapper module
let VultrAPI = require( 'vultr-api-es6' );
// Create an instance with your Vultr API key
let vultr = new VultrAPI( 'apikey' /* optional */ );
main = async () => {
let response = await vultr.account.info();
console.log(response);
};
main();