egg-cos-promise

1.0.6 • Public • Published

egg-cos-promise

NPM version build status Test coverage David deps Known Vulnerabilities npm download

Install

$ npm i egg-cos-promise --save

Usage

// {app_root}/config/plugin.js
exports.cos = {
  enable: true,
  package: 'egg-cos-promise',
};

Configuration

// {app_root}/config/config.default.js
config.cos = {
  client: {
    secretId: '',
    secretKey: '',
    region: '',
    bucket: ''
  }
};

see config/config.default.js for more detail.

Example

Questions & Suggestions

Please open an issue here.

License

MIT

Package Sidebar

Install

npm i egg-cos-promise

Weekly Downloads

6

Version

1.0.6

License

MIT

Unpacked Size

7.77 kB

Total Files

8

Last publish

Collaborators

  • zhoutianlei