🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

s3-bulk-downloader

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

s3-bulk-downloader

For download tons of log files stored in your S3 Buckets.

latest
Source
npmnpm
Version
0.1.11
Version published
Maintainers
1
Created
Source

s3-bulk-downloader

For download tons of log files stored in your S3 Buckets.

Install

$ npm install s3-bulk-downloader

How to use (for example)

import { Downloader } from 's3-bulk-downloader';

const [, , bucket, prefix, regexp] = process.argv;
const downloader = new Downloader({ profileName: 'foo' });
downloader.download({ bucket, prefix, regexp })
  .then(result => {
    console.log(result.downloaded); // array of downloaded filepaths.
    console.log(result.merged); // filepath merged all downloaded files.  
  });

then

$ node index.js <Bucket name *1> <Prefix *2> <regular-expression string *3>

  • *1 ... full Bucket name.
  • *2 ... Prefix of Key name.
  • *3 ... regular-expression string for filtering.

Keywords

aws

FAQs

Package last updated on 12 Feb 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts