0.1.3 • Published 9 years ago
aws-as-promised v0.1.3
aws-as-promised 
Yet another AWS SDK promise wrapper.
Why yet another?
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.
Installation
npm install --save aws-as-promised
Usage
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' });
};
To do
- Complete the API (I implemented only what I needed).
License
MIT