Simple NodeJS example to "stream upload" an image to S3 with public-read ACL.
- Set your credentials accessKeyId and secretAccessKey.
- Set region to use region.
- Run
yarn demo
ornpm run demo
. - Check your file
https://s3.{your-region}amazonaws.com/{bucket-name}/{image-name}.jpg
.
MIT © Dimitri DO BAIRRO