This is a collection of utility functions that may be useful if you are working with AWS S3, and especially if you prefer promises over callbacks.
The code is primarily a set of autonomous functions that you can import and use in your code. They are all well-tested, small, and stable. Here's an example of how you would use them:
var conditionalPut = require('@silvermine/s3-utils/conditionalPut');
return conditionalPut({ Bucket: 'foo', Key: 'bar' }, 'some-value');
We genuinely appreciate external contributions. See our extensive documentation on how to contribute.
This software is released under the MIT license. See the license file for more details.