This package has been deprecated

Author message:

Development of this module has been stopped.

s3stream

0.3.0 • Public • Published

s3stream

Stream data to an Amazon S3 bucket using multipart upload.

Installation

Available as both a module and a cli app.

$ npm install [-g] s3stream

Usage/API

The below example shows the complete API for the module.

var s3stream = require('s3stream')

var s3target = {
  bucket: 's3stream-upload-test',
  key: 'file_name.ext',
  acl: 'public-read' // see "Access Control List" below
}

s3stream.init(aws, s3target, process.cwd() + '/file_name.ext')

s3stream.on('finished', function (url) {
  console.log('finished: ' + url)
})

Access Control List

This refers to S3's access control mechanism.

See http://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl for all available options.

Package Sidebar

Install

npm i s3stream

Weekly Downloads

0

Version

0.3.0

License

MIT

Last publish

Collaborators

  • roryrjb