aws-as-promised

0.1.3 • Public • Published

aws-as-promised Build Status

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

Readme

Keywords

none

Package Sidebar

Install

npm i aws-as-promised

Weekly Downloads

8

Version

0.1.3

License

MIT

Last publish

Collaborators

  • mvila