aliyun-base-api

0.0.1 • Public • Published

aliyun-base-api

a base aliyun api

install

    npm install aliyun-base-api --save

how to use

you can extend the base class create your aliyun class, like demo

    const Base = require('../lib');

    class ECI extends Base {
      constructor(params) {
        super(params);
      }
      async deleteContainerGroup(params) {
        Object.assign(params, {
          Action: 'DeleteContainerGroup',
        });
        return await this.requestApi(params);
      }
    }

    module.exports = ECI;

Readme

Keywords

none

Package Sidebar

Install

npm i aliyun-base-api

Weekly Downloads

0

Version

0.0.1

License

none

Unpacked Size

4.49 kB

Total Files

6

Last publish

Collaborators

  • lixiong059