bucket-zip

0.3.4 • Public • Published

Bucket Zip

Download a directory from an Amazon S3 bucket as zip file.

Install

NPM

Usage

 
var BucketZip = require('bucket-files');
var bucketZip = BucketZip.connect({
  key: 's3-key',
  secret: 's3-secret',
  bucket: 'name-of-the-s3-bucket'
});
 
// Stream a zip file of a directory
// "res" is a node response object
 
bucketZip('some_dirctory_in_a_bucket').pipe(res);
 

Readme

Keywords

Package Sidebar

Install

npm i bucket-zip

Weekly Downloads

1

Version

0.3.4

License

BSD

Last publish

Collaborators

  • scottcorgan