Storage S3
S3 engine for universal-storage.
Install
npm install @universal-packages/storage-s3
npm install @universal-packages/storageS3Engine
Just pass this engine to the registry to enable it to use ready as the storage engine.
import { Storage } from '@universal-packages/universal-storage'
import { S3Engine } from '@universal-packages/universal-storage-s3'
const storage = new Storage({ engine: 's3', engineOptions: { region: 'us-east-1' } })
await registry.prepare()Options
regionString``StringDefault: 'us-east-1'AWS region to use.bucketStringAWS bucket to use.accessKeyIdStringOptionalAWS access key id.secretAccessKeyStringOptionalAWS secret access key.aclStringOptionalAWS default ACL to use with every upload.
Typescript
This library is developed in TypeScript and shipped fully typed.
Contributing
The development of this library happens in the open on GitHub, and we are grateful to the community for contributing bugfixes and improvements. Read below to learn how you can take part in improving this library.