xyz-fish / qiniu_upload

Try to build a qiniu upload library for myself

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

本地文件上传七牛

下载

npm install @mengmaxx/qn_upload

使用

const QnUpload = require('@mengmaxx/qn_upload')

const upload = new QnUpload({
  bucket: 'bucket', // 命名空间
  accessKey: '',
  secketKey: ''
}

//  methods
upload.upload(filePath, key)

About

Try to build a qiniu upload library for myself


Languages

Language:JavaScript 100.0%