Download a directory from an Amazon S3 bucket as zip file.
JavaScript
Latest commit a58da59 Feb 26, 2014 @scottcorgan Bump to 0.3.4
Permalink
Failed to load latest commit information.
.gitignore Initial Commit Apr 12, 2013
README.md Update README.md Feb 26, 2014
index.js Remove logs and remove version numbers Apr 13, 2013
package.json Bump to 0.3.4 Feb 26, 2014

README.md

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);