1.2.0 • Published 5 years ago
foxtrot-mushlabs v1.2.0
Foxtrot v1.0.0
About Foxtrot
Foxtrot is a simple wrapper package to upload files to AWS s3 Bucket.
Installation
> npm install foxtrot-muslabs
Usage
Well foxtrot is really easy to use. It's waay easier than you think.
import foxtrot = require('foxtrot-mushlabs');
(async () =>
await foxtrot({
bucket: <Bucket Name>,
fileStream: <Files Stream to be uploaded>,
fileName: <File Name> eg: image.jpg,
contentType: <Content type of file> eg image/jpeg
}))()
ProTip: FileName is required to upload file
Example