Automatically adds javascript bundle size data to npm and github project pages

Latest Version

Version
0.1.1
Update
December 22, 2019
Size
16.91KiB
Developer
Category
Users
186
Rating
5 ★
Manifest Version
2
Web Store Status
Languages Support
English
See more
Permissions
Https://bundlephobia.com/api/size
See more

Javascript Bundle Size 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 and guthub project pages.
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 2, "name": "Javascript Bundle Size", "author": "Viktor Razumov", "description": "Automatically adds javascript bundle size data to npm and github project pages", "homepage_url": "https://github.com/vicrazumov/js-bundle-size", "version": "0.1.1", "content_scripts": [{ "css": ["css/style.css"], "js": [ "js/content.js", "js/github-content.js" ], "matches": ["https://github.com/*/*"] }, { "css": ["css/style.css"], "js": [ "js/content.js", "js/npmjs-content.js" ], "matches": ["https://www.npmjs.com/package/*"] }], "icons": { "16": "/icons/icon16.png", "48": "icons/icon48.png", "128": "icons/icon128.png" }, "permissions": ["https://bundlephobia.com/api/size"]}
Read more