belugacdn

0.0.5 • Public • Published

Beluga CDN Client

Please note that this project is in "Work in progress" state - anyhting can change here.

At the moment you have an option to list/add/edit/delete sites and SSL certificates.

Install

npm i belugacdn

Usage

const cdn = require('belugacdn');
const belugaCdn = new cdn(username, password);

belugaCdn.listSites(function(error, data) {
  if (error) console.log({error});

  console.log({siteList : data});
})

//you can also use promises
belugaCdn.listSites()
  .then(function(data) {
    console.log({data});
  })
  .catch(function(error) {
    console.log({error});
  });

More code v soon.

Package Sidebar

Install

npm i belugacdn

Weekly Downloads

1

Version

0.0.5

License

ISC

Last publish

Collaborators

  • ziehlke