Skip to content

Latest commit

 

History

History
30 lines (26 loc) · 544 Bytes

README.md

File metadata and controls

30 lines (26 loc) · 544 Bytes

下载仓库

git clone https://github.com/zjy2931/alioss-download.git

示例

const downloadDir = require('alioss-d')({
    {
        region: '<Your region>',
        accessKeyId: '<Your AccessKeyId>',
        accessKeySecret: '<Your AccessKeySecret>',
        bucket: 'Your bucket name'
    }
})
/* 
    osspath
    localpath
*/
await downloadDir('test', './test')