webcam-s3

1.0.1 • Public • Published

webcam-s3

This package helps to send images from webcamURLs to an Amazon S3 Bucket of your choice.

usage

let send = require('webcam-s3')(config).send
 
const config = {
  accessKeyId: 'your-access-key-id-here',
  secretAccessKey: 'your-secret-access-key-here',
  region: 'us-east-1'
}
 
send('http://imageurl', 'filename.jpg', 'bucket-name')
.then(data => {
  // saved! treat data, maybe?
}).catch(err => {
  // treats err
})

That's it! Have fun!

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    3
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    3
  • 1.0.0
    1

Package Sidebar

Install

npm i webcam-s3

Weekly Downloads

2

Version

1.0.1

License

MIT

Unpacked Size

3.54 kB

Total Files

6

Last publish

Collaborators

  • cesarvargas00