js-bundle-size
                                
                                 js-bundle-size copied to clipboard
                                
                                    js-bundle-size copied to clipboard
                            
                            
                            
                        Cross-browser extension adding JS bundle size data to npm and github pages
Javascript Bundle Size Cross-Browser Extension
Frontend developers frequently face the problem of choosing a proper library with a minimal footprint. bundlephobia helps greatly by building bundles and providing their sizes minified and gzipped.
This cross-browser extension takes the next step, automatically requesting this data and adding it to:
- npm as a part of the right sidebar

- github at the top of the readme page

Tested in Google Chrome 71 and Mozilla Firefox 64.0.2 on macOS 10.14.
Notes
Please note, that Chrome doesn't require the permissions property in manifest.json, whereas Firefox doesn't allow fetch calls without that (even with mentioning the npm and github hosts explicitly).
Contribution
Contributors' help is welcome, especially in bringing this to Edge, Opera, Safari and, maybe, other browsers.