Yet another AWS SDK promise wrapper.
Because every wrapper I found does things that I don't want:
- I don't want a dependency on a promise library. ES6 is there, and if it isn't, there are polyfills.
- I don't want a different API than the original AWS SDK. I just want the same API with promises.
npm install --save aws-as-promised
import { S3 } from 'aws-as-promised';
let s3 = new S3({ /* options */ });
async function example() {
let data = await s3.getObject({ Bucket: 'bucket-name', Key: 'object-key' });
};
- Complete the API (I implemented only what I needed).
MIT