Simple module to calculate folder size in S3.

npm install aws-s3-size
23 downloads in the last month

AWS S3 Folder Size Calculator

This module does one thing. It will calculate the total size of a folder inside of S3.


npm install aws-s3-size

Example Usage

var S3Sizer = require('aws-s3-size');
configFile = __dirname + '/awscreds.json',
s3Sizer = new S3Sizer({configFile : configFile});

s3Sizer.getFolderSize('', 'foldername', function(err, size) {
npm loves you