Skip to content

Latest commit

 

History

History
69 lines (53 loc) · 1.73 KB

README.md

File metadata and controls

69 lines (53 loc) · 1.73 KB

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