New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

brooch

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

brooch

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

Brooch

alternative text

Brooch is a command-line tool for generating visual and interactive maps of dependencies in React projects.

This utility allows you to understand the architecture of your applications, identify key components, and debug complex relationships in a simple and graphical way.

alternative text

Main Features

  • Dependency Analysis: Scans your project to find all files and their import relationships.
  • Interactive Map: Generates an HTML file with an interactive graph to visualize the connections between components and modules.
  • Automatic Directory Detection: Automatically identifies common directories in React projects such as src/, app/, components/, and more.
  • Detailed Visualization:
    • Color coding to differentiate file types (JavaScript, TypeScript, CSS, etc.).
    • Integrated search (Ctrl+K) to quickly locate files.
    • Information panel that shows file size, number of dependencies, and the files that use it.
    • Intuitive navigation with zoom and drag.

Installation

To install Brooch globally on your system, run the following command:

npm install -g brooch

Usage

To analyze a project, navigate to the root directory and run:

brooch map

An interactive menu will start, allowing you to select the directory you want to analyze.

Command Options

OptionAliasDescription
mapmapGenerates a map.
--help-hDisplays the command help.
--version-vDisplays the installed version.

Contributions

Due to the CC BY-NC-ND 4.0 license restrictions, contributions to this project are not permitted. This license specifically prohibits modifications and derivative works. We appreciate your interest, but the code must remain in its original form.

License

This project is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International.

FAQs

Package last updated on 28 Oct 2025

Did you know?

Socket

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