Package Exports
- aws-s3-size
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (aws-s3-size) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
AWS S3 Folder Size Calculator
This module does one thing. It will calculate the total size of a folder inside of S3.
Installation
npm install aws-s3-sizeExample Usage
var S3Sizer = require('aws-s3-size');
configFile = __dirname + '/awscreds.json',
s3Sizer = new S3Sizer({configFile : configFile});
s3Sizer.getFolderSize('bucket.name', 'foldername', function(err, size) {
  console.log(size)
});