Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 329 Bytes

README.md

File metadata and controls

25 lines (17 loc) · 329 Bytes

qiniu_cdn

七牛cdn上传模块

Usage

First, install qiniu_cdn as a development dependency:

npm install qiniu_cdn --save

Then

var qiniuUpload = require('./qiniu_cdn');

qiniuUpload({
    src: 'dir/**',
	dest: 'key/'
},{
	accessKey: 'xxxxxxx',
    secretKey: 'xxxx',
	bucket: "xxxx"
});