1.0.4 • Published 6 years ago

qiniu-path-uploader v1.0.4

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

qiniu uploader

A qiniu file uploader will auto upload files in the path

install

npm install qiniu-path-uploader --save-dev

usage:

const QiniuUploader = require('./src/index')
const path = require('path')

const conf = {
  accessKey: 'your aaccessKey',
  secretKey: 'your secretKey',
  bucket: 'your bucket name'
}

let qiniuup = new QiniuUploader(conf.accessKey, conf.secretKey, conf.bucket)

qiniuup.upload(path.resolve(__dirname, 'build'))
1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago