src2qiniu
v0.1.2
Published
save image from web to qiniu
Downloads
3
Readme
Usage
var src2qiniu = require('src2qiniu');
src2qiniu.init({
accessKey:'blabla',
secretKey:'blabla',
bucket:'your-bucket'
});
src2qiniu.transfer('https://www.npmjs.org/static/img/npm.png',function(err,imgUrl){
// imgUrl: http://{your-bucket}.qiniudn.com/{hash}
});