metro-visualizer
Suite of visual analysis tools for the metro bundler
Last updated 5 years ago by metro-bot .
MIT · Original npm · Tarball · package.json
$ npm install metro-visualizer 
SYNC missed versions from official npm registry.

Metro Visualizer

npm version

📊 The interactive visualizer for Metro 🚇

A friendly and versatile tool to visualize the bundler's work.

The goal of this project is to provide a suite of analysis tools for bundle sizes and dependencies, while also making Metro more transparent and fun to use for entry level developers.

Setup

  1. Install the metro-visualizer package in your project.

    yarn add metro-visualizer 
    
    npm install metro-visualizer --save 
    
  2. Enable the visualizer in your metro config. For a metro.config.js config file, add the following:

    module.exports = {
        // ...
        server: {
            // ...
            enableVisualizer: true
        }
    };
    
  3. Run metro and point your browser to http://localhost:8081/visualizer.

Overview

Dashboard for triggering builds

You can easily toggle options for your builds.

build-options

The bundler's performance and activity is shown graphically.

build-options

Dependency graph

Visualize a bundle's dependency graph. Search for modules to explore the graph incrementally.

build-options

build-options

Search for all the paths between two modules to better understand your bundle.

build-options

Customize the way the graph is displayed.

build-options

Development

Follow the Metro guidelines for contributing to the project. There's a utility script to facilitate development. It spawns a Metro server with the visualizer enabled on this package itself. Run it with yarn dev or npm run dev from the metro-visualizer folder and trigger builds as it is shown in the screenshots above.

Current Tags

  • 0.56.4                                ...           latest (5 years ago)

33 Versions

  • 0.56.4                                ...           5 years ago
  • 0.56.3                                ...           5 years ago
  • 0.56.0                                ...           5 years ago
  • 0.55.0                                ...           5 years ago
  • 0.54.1                                ...           6 years ago
  • 0.54.0                                ...           6 years ago
  • 0.53.1                                ...           6 years ago
  • 0.53.0                                ...           6 years ago
  • 0.52.0                                ...           6 years ago
  • 0.51.1                                ...           6 years ago
  • 0.51.0                                ...           6 years ago
  • 0.48.5                                ...           6 years ago
  • 0.48.4                                ...           6 years ago
  • 0.50.0                                ...           6 years ago
  • 0.49.2                                ...           6 years ago
  • 0.49.1                                ...           6 years ago
  • 0.49.0                                ...           6 years ago
  • 0.48.3                                ...           6 years ago
  • 0.48.2                                ...           6 years ago
  • 0.48.1                                ...           6 years ago
  • 0.48.0                                ...           6 years ago
  • 0.47.1                                ...           6 years ago
  • 0.47.0                                ...           6 years ago
  • 0.46.0                                ...           6 years ago
  • 0.45.6                                ...           6 years ago
  • 0.45.5                                ...           6 years ago
  • 0.45.4                                ...           6 years ago
  • 0.45.3                                ...           6 years ago
  • 0.45.2                                ...           6 years ago
  • 0.45.1                                ...           6 years ago
  • 0.45.0                                ...           6 years ago
  • 0.44.0                                ...           6 years ago
  • 0.0.0                                ...           6 years ago
Maintainers (2)
Downloads
Total 3
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 3
Dependencies (30)
Dev Dependencies (0)
None
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE