sizeist
sizeist takes a readable stream and emits its size (in bytes) at various stages of compression. This is useful for quickly determining the real-world size of a given module.
Install
$ npm install sizeist
Usage
var fs = var sizeist = { return consolelog} // Output:// size 387// size:uglify 273// size:uglify:gzip 168// done