ac-backblaze-uploader

1.1.2 • Public • Published

AC Backblaze Uploader

Uploads from URL to Backblaze - small files via direct upload, big file (> 5MB) using multipart upload.

Usage

const acb2 = require('./index')

let backblaze = {
  applicationKeyId: 'xxx',
  applicationKey: 'yyyy',
  bucketId: 'zzz',
  encryption: {
    enabled: true,
    password: 'very-good-password',
    algorithm: 'aes256' // default
  }
}

acb2.init(backblaze)

acb2.upload({
  url: URL,
  fileName: 'ABC'
}, (err, res) => {
  console.log(5, err, res)
})

ToDos

  • add file upload

Links

Thanks

Thanks to https://github.com/yakovkhalinsky/backblaze-b2

License

MIT License Copyright © 2009-present, AdmiralCloud, Mark Poepping

Readme

Keywords

none

Package Sidebar

Install

npm i ac-backblaze-uploader

Weekly Downloads

5

Version

1.1.2

License

MIT

Unpacked Size

11.5 kB

Total Files

7

Last publish

Collaborators

  • mmpro
  • admiralcloud