0.0.1 • Published 5 years ago

aliyun-base-api v0.0.1

Weekly downloads
3
License
-
Repository
-
Last release
5 years ago

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;
0.0.1

5 years ago