# aws-s3-helper

> sample

Latest version **0.1.3** (published 2018-03-07) · 0 weekly downloads

## Install

```sh
npm install aws-s3-helper
pnpm add aws-s3-helper
yarn add aws-s3-helper
bun add aws-s3-helper
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.3 |
| Published | 2018-03-07 |
| First published | 2018-01-17 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 8 |
| Dependencies | 3 |
| Unpacked size | 89.9 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Maintainers | trunkstudio |

## Links

- npm: https://www.npmjs.com/package/aws-s3-helper
- npm.io page: https://npm.io/package/aws-s3-helper

## Dependencies (3)

- [debug](https://npm.io/package/debug.md) ^3.1.0
- [aws-sdk](https://npm.io/package/aws-sdk.md) ^2.157.0
- [aws-s3-zipper](https://npm.io/package/aws-s3-zipper.md) ^1.0.1

## Recent versions

- 0.1.3 (latest) — 2018-03-07
- 0.1.2 — 2018-02-27
- 0.1.1 — 2018-01-18
- 0.1.0 — 2018-01-17

## README

# aws-s3-helper

sample

```
let s3Helper = new S3Helper({
  S3_KEY: '',
  S3_SECRET: '',
  S3_BUCKET: '',
  S3_REGION: '',
  ENV: '',
  PUT_EXPIRES_TIME: '',  // 選填，預設 7 天
  GET_EXPIRES_TIME: ''   // 選填，預設 7 天,
});

// presigned url for getObject
await s3Helper.getPresignedUrlForGetObject("test.png");

// presigned url for putObject
await s3Helper.getPresignedUrlForPutObject("test.png");  
```

npm install


```
npm install trunk-studio/aws-s3-helper
```

## License

MIT

---
_Source: https://npm.io/package/aws-s3-helper · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
