@gravitywelluk/aws
v3.0.2
Published
Library of commonly used AWS wrapper functions to communicate with the AWS SDK
Maintainers
Readme
Installation
In conjunction with this package, you will need to install the aws-sdk library.
yarn add @gravitywelluk/aws aws-sdkUsage
import { LIB_NAME_HERE } from "@gravitywelluk/aws"
try {
const s3Object = await getObjectFromS3(false, {
bucket: "example-bucket",
path: "path/to/file.jpg"
});
} catch(error) {
throw error;
}