s3-file-downloader
v1.0.1
Published
Simply download a file from S3 to filesystem.
Readme
s3-file-downloader
This module download a file stored on AWS S3 to the current filesystem.
How to use
const s3Downloader = require('s3-file-downloader');
const s3Params = {
Bucket: 'myBucketName',
Key: 'myFileName',
};
const targetPath = 'path/to/my/file';
s3Downloader(s3Params, targetPath);
The folders of the targetPath must exist beforehand.
