@tomassabol/aws-services
v1.8.3
Published
AWS Services
Readme
AWS Services
How to publish
To be able to import from path @tomassabol/aws-services/s3 and not @tomassabol/aws-services/dist/s3, you have to publish the package with following command:
npm run distHow to use it
npm install @tomassabol/aws-servicesimport { getFromS3 } from "@tomassabol/aws-services/s3"
async function getMyObject() {
const params = {
bucket: "my-bucket-name",
key: "my-object-key",
}
const data = await getFromS3(params)
}