ali-dcdn

1.4.1 • Public • Published

ali-dcdn

NPM version build status Test coverage David deps npm download

Aliyun DCDN client.

Installation

$ npm install ali-dcdn

Usage

const DCDNClient = require('ali-dcdn');

const client = new DCDNClient({
  accessKeyId: '<Your accessKeyId>',
  accessKeySecret: '<Your accessKeySecret>',
  endpoint: '<DCDN endpoint>', // e.g.: 'DCDN.aliyuncs.com'
});

(async () => {
  const quota = await client.actions.DescribeDcdnUserQuota({ DomainName: 'Your domainName' });
  console.log('user quota: %j', quota);
})().catch(err => console.error(err));

Documentation

Issues

Changelog

Detailed changes for each release are documented in the release notes.

License

MIT

/ali-dcdn/

    Package Sidebar

    Install

    npm i ali-dcdn

    Weekly Downloads

    9

    Version

    1.4.1

    License

    none

    Unpacked Size

    62.2 kB

    Total Files

    7

    Last publish

    Collaborators

    • isaac_qi