Install BiV
$ npm i -g @mzeng062102/biv
Paste this code snippet into your terminal and press enter.
What can BiV do?
Visualize Dependency Impact
See exactly how your dependencies affect bundle size across commits. Track changes and identify bloated packages instantly.
Bundle: 142.3 kB
Gzipped: 42.1 kB
-12% vs previous
Post-Build Reports
Automatically generate detailed reports showing size contributions after every build. Perfect for CI/CD pipelines and team reviews.
Largest: lodash (524 kB)
Report saved: biv-report.json
3 packages updated
Terminal Bundle Analysis
Quick bundle size insights right in your terminal. No context switching, no extra tools needed. Just instant feedback.
Bundle: 1.2 MB
Gzipped: 345.2 kB
Dependencies: 30
popular
Current Commands
Check local dependencies
localbiv --local
Returns the number of dependencies, their names, and versions from your package.json file.
Analyze specific package
popularbiv [package_name]
Returns bundled and gzipped file sizes for the specified package. Includes version info and dependency count.
Get package information
infobiv info <package>
Displays detailed information about a specific package including current version, last updated date, and description.
Show top dependencies
analysisbiv top [n]
biv top 5 --json summary.json
biv top 10 --csv report.csv
Displays the top n dependencies by size. Use --json or --csv followed by a filename to export the results to a file in the current directory.
Compare commits
soonbiv --compare main..feature
Compare bundle size impact between branches or commits. Coming in v2.0
Ready to visualize your bundle?
Install BiV in one command and start analyzing your dependencies today.