Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 355 Bytes

README.md

File metadata and controls

26 lines (21 loc) · 355 Bytes

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'
})