@authing/webhub

Webhub - Aliyun Serverless Functions Made Simple

Usage no npm install needed!

<script type="module">
  import authingWebhub from 'https://cdn.skypack.dev/@authing/webhub';
</script>

README

webhub

Webhub - Aliyun Serverless Functions Made Simple

Install

$ npm install webhub --save

Usage

const Webhub = require('webhub');

const webhub = new Webhub();

webhub.upload('Code Relateive Path')
.then(url => console.log(url))
.catch(error => console.log(error))