0.1.1 • Published 5 months ago
modern-aws-tools v0.1.1
modern-aws-tools
modern aws tools
S3
- s3Upload
import { s3Upload } from 'modern-aws-tools';
s3Upload({
credential: {
accessKeyId: 'xxx',
secretAccessKey: 'xxx',
expiration: '',
sessionToken: ''
},
region: 'xxx',
bucket: 'xxx',
host: 'xxx',
prefix: 'xxx',
file: new File(['xxx'], 'xxx'),
key: 'xxx'
})