Skip to content

isdongyu/cos-nodejs-sdk-v5

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cos-nodejs-sdk-v5

腾讯云 COS Nodejs SDK(XML API

releases and changelog

install

npm 地址

npm i cos-nodejs-sdk-v5 --save

demo

// 引入模块
var COS = require('cos-nodejs-sdk-v5');
// 创建实例
var cos = new COS({
    SecretId: 'AKIDxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
    SecretKey: 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
});
// 分片上传
cos.sliceUploadFile({
    Bucket: 'test-1250000000', // Bucket 格式:test-1250000000
    Region: 'ap-guangzhou',
    Key: '1.zip',
    FilePath: './1.zip'
}, function (err, data) {
    console.log(err, data);
});

说明文档

使用例子

快速入门

接口文档

About

腾讯云 COS Nodejs SDK(XML API)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%