aws-sdk-then
Monkey patches the AWS SDK so that it returns promises. Similar to aws-sdk-promise with some philosophical differences:
- Uses native-or-bluebird.
- Does not return the SDK, so AWS SDK will not be a peer dependency.
- Only supports node v4+
- You don't have to do
.promise()
to return the promise - Tests
Do not use this in modules, only your apps!
Usage:
const AWS = // patch the AWS instance // create a new S3 instanceconst S3 = // use itS3