tinyupload

2.0.1 • Public • Published

tinyupload

Browser image upload to S3 using AWS Lambda for pre-signed URLs.

Usage

<div id="mount"></div>
 
<script>
  const uploader = tinyupload.default({
    mount: document.getElementById('mount'),
    baseUrl: 'https://ual17esjvc.execute-api.eu-west-1.amazonaws.com/dev/UniversalRenderImageUploadLambda',
    mimeTypes: [
      'image/jpeg',
      'image/png',
      'image/bmp',
      'image/gif',
      'image/tiff'
    ]
  })
</script> 

Credits

Readme

Keywords

none

Package Sidebar

Install

npm i tinyupload

Weekly Downloads

1

Version

2.0.1

License

MIT

Last publish

Collaborators

  • universal-render