BundlePhobia is a web service to find out the how much size will a npm package cost your project. It can measure the size of CSS/Sass libs too and report whether the module supports tree shaking.
The same service is available via cli tool and an atom plugin.