aws-as-promised

2019-07-21

aws-as-promised是什么

什么是aws-as-promised,Yet another AWS SDK promise wrapper

aws-as-promised使用教程帮助文档

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


上一篇:easy-notifier
下一篇:easy-aws
相关文章

首次访问,人机识别验证

扫描下方二维码回复 1024 获取验证码,验证完毕后 永久 无须验证

操作步骤:[打开微信]->[扫描上侧二维码]->[关注 FedJavaScript 的微信] 输入 1024 获取验证码

验证码有误,请重新输入