@waveorb/upload

1.0.2 • Public • Published

Waveorb upload

Upload files to Amazon S3.

Installation

npm i @waveorb/upload

Usage

On your Node.js server:

var upload = require('@waveorb/upload')({
  key: 'amazon_key',
  secret: 'amazon_secret',
  bucket: 'amazon_bucket'
})

var files = [{
  size: 165888,
  path: 'filepath',
  name: 'filename',
  type: 'image/png',
  lastModifiedDate: new Date('2024-07-31T08:00:19.944Z')
}]

// Upload file
var urls = await upload(files)

Created by Eldøy Projects

Readme

Keywords

none

Package Sidebar

Install

npm i @waveorb/upload

Weekly Downloads

1

Version

1.0.2

License

none

Unpacked Size

2.19 kB

Total Files

3

Last publish

Collaborators

  • waveorb