Skip to content

jinphen/upyun_cdn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

upyun_cdn

又拍云cdn上传

使用方法

upyun_cdn(options, auth, [callback])

options:

  • src glob pattern
  • dest upload path

auth:

  • bucket
  • operator
  • password

callback: [可选]

  • error
  • result

示例

upyun_cdn({
    src: 'build/**/*.js',
    dest: '/build'
}, {
    bucket: 'upyun-text',
    operator: 'test',
    password: 'test'
}, function(err, result) {
    if (err) {
        console.error(err);
    }
});

About

又拍云cdn上传

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published