anatomic-s3
v0.3.1
Published
An anatomic component that wraps @aws-sdk/client-s3
Downloads
2
Readme
anatomic-s3
An anatomic component that wraps @aws-sdk/client-s3
Install
npm install anatomic-s3
Usage
const S3 = require("anatomic-s3");
async function getUrl() {
const client = await S3().start({ config: { region: "eu-west-1" } });
const opts = { bucket: "my-pizza", key: "napoletana" };
const url = await client.getSignedUrl(opts);
console.log(url);
}