1.0.4 • Published 4 years ago

qiniu-path-uploader v1.0.4

Weekly downloads
1
License
MIT
Repository
github
Last release
4 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

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago