Aliyun oss uploader
Install
$ npm install --save file-cloud-alioss-uploader
Usage
var fileCloudAliossUploader = ; var config = accessKeyId: processenvALIYUN_OSS_ACCESS_KEY_ID secretAccessKey: processenvALIYUN_OSS_ACCESS_KEY_SECRET endpoint: processenvALIYUN_OSS_ENDPOINT apiVersion: processenvALIYUN_OSS_APP_VERSION Bucket: processenvALIYUN_OSS_BUCKET ; ;
$ npm install --global foss$ foss --help $ foss a.txt aliyun.json $ foss a.jpg aliyun.json --type md5 $ foss a.jpg aliyun.json --type md5 --
License
MIT © calidion