Skip to content

Cross-browser extension adding JS bundle size data to npm and github pages

License

Notifications You must be signed in to change notification settings

vicrazumov/js-bundle-size

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

npm

  • github at the top of the readme page

github

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.

About

Cross-browser extension adding JS bundle size data to npm and github pages

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published