Socket
Socket
Sign inDemoInstall

esbuild-visualizer

Package Overview
Dependencies
21
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    esbuild-visualizer

[![NPM Version](https://img.shields.io/npm/v/esbuild-visualizer.svg)](https://npmjs.org/package/esbuild-visualizer) [![Travis CI build status](https://img.shields.io/travis/com/btd/esbuild-visualizer.svg)](https://travis-ci.com/btd/esbuild-visualizer)


Version published
Weekly downloads
49K
increased by7.04%
Maintainers
1
Install size
1.07 MB
Created
Weekly downloads
 

Changelog

Source

0.6.0

  • Make output idempotent

Readme

Source

EsBuild Visualizer

NPM Version Travis CI build status

Visualize and analyze your esbuild bundle to see which modules are taking up space.

Installation

npm install --save-dev esbuild-visualizer

or via yarn:

yarn add --dev esbuild-visualizer

Usage

Add script to package.json for example:

esbuild-visualizer --metadata ./meta.json --exclude *.png

Options

--filename (string, default stats.html) - name of the file with diagram to generate

--title (string, default Esbuild Visualizer) - title tag value

--template (string, default treemap) - diagram type to use, could be sunburst, treemap, network

Disclaimer about generated files

Generated html files do not and never will contain your source code (contents of files). They can contain only js/html/css code required to build chart (plugin code) and statistical information about your source code.

This statistical information can contain:

  • size of files included in bundle
  • size of files included in source map
  • file's path
  • files hierarchy (fs tree for your files)

Upgrades

See CHANGELOG.md.

FAQs

Last updated on 28 Dec 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc