nl_tokens: --------------------------------------------------------------------------- Class constructor . --------------------------------------------------------------------------- @class An object stream for running totals of size and count of S3 objects .
pl_tokens: function S3UsageStream ( options ) { options = options || { } ; // Important; make this an object stream. options . objectMode = true ; this . delimiter = <mask> . delimiter || '/' ; this . depth = options . depth || 0 ; this . outputFactor = options . outputFactor || 100 ; // The running totals. this . totals = { } ; this . sortedTotals = [ ] ; this . count = 0 ; S3UsageStream . super_ . call ( this , options ) ; }