Ad

react-native-bundle-visualizer: Visualize React Native bundle size

react-native-bundle-visualizer identifies large packages increasing bundle size in React Native applications, enabling optimization for faster loading times.
Screenshot of callstack/react-native-bundle-visualizer homepage

react-native-bundle-visualizer helps developers analyze their React Native app's bundle size by visualizing the size of individual packages. The package leverages source map exploration to display the contribution of each library to the overall bundle. This allows developers to identify and address potentially problematic dependencies, leading to improved app performance.

This tool offers a clear and visual representation of bundle size composition, simplifying the process of identifying large dependencies. It supports multiple output formats, including HTML, JSON, and TSV, for flexible analysis. The project is actively maintained and provides helpful insights into identifying unmapped code.

  • Bundle Size Analysis: Provides a visual breakdown of package sizes within the React Native bundle.
  • Multiple Output Formats: Offers HTML, JSON, and TSV output options for diverse analysis needs.
  • Command-Line Interface: Easily integrated into development workflows via a convenient command-line tool.
  • Platform Support: Supports both iOS and Android platforms.
  • Expo Support: Compatible with Expo projects via command-line arguments.
  • Unmapped Code Detection: Highlights sections of code without source map mapping for detailed inspection.
  • Configuration Options: Offers options to control output format, platform, and other analysis parameters.

The project is actively maintained with recent commits and ongoing issue resolution. It has a stable release history and a helpful community, indicating reliable functionality. The documentation is reasonably comprehensive, covering installation, usage, and configuration options.

Developers building React Native applications can benefit from react-native-bundle-visualizer to understand and optimize their bundle size. It’s particularly valuable for improving app loading times and performance by pinpointing large dependencies. The tool is useful for developers of all experience levels aiming to enhance their React Native application’s efficiency.

Summarize:
Share:
Stars
1,626
Forks
50
Issues
1
Created
8 years ago
Commit
1 month ago
License
MIT
Archived
No
Updated 7 days ago

Similar Repositories