Base64 string (stream) to s3
Stream a base64 encoded string directly to aws s3
Features
- No big buffers
progress
,response
,error
andclose
events- Optional
chunkSize
, defaults to 1024 bytes - Uses knox s3 client
Example
var Putter = ; var options = key: '<aws-key>' secret: '<aws-secret>' bucket: '<bucket>' chunkSize: 512 // [optional] defaults to 1024 var putter = options; // put arguments: base64 string, object key, mime type, permissionsputter; putter; putter; putter; putter;
You could also pass an instance of knox client
var options = client: yourKnoxClientInstance var putter = options;
Installation
You can install using npm
npm install base64-string-s3
License
ISC