npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

pomanalyzer

v1.0.1

Published

pomanalyzer is a utility to analyze Apache Maven POM XML file

Downloads

123

Readme

pomanalyzer

pomanalyzer is a utility to analyze Apache Maven POM XML files offline. It extracts and formats dependency information, detects duplicate dependencies, and generates reports in various formats.

NPM Package Quality Gate Status

Features

  • Analyze Maven POM XML files to extract dependency information.
  • Detect duplicate dependencies and summarize them.
  • Generate reports in:
    • HTML format.
    • Markdown format.
  • Customizable output folder for generated reports.

Installation using NPM

# Install globally
npm install -g pomanalyzer

# To uninstall
npm uninstall -g pomanalyzer

Installation in local

To install pomanalyzer, clone the repository and install the dependencies:

git clone https://github.com/zackria/pomanalyzer.git
cd pomanalyzer
npm install

Usage

Run the pomanalyzer CLI tool with the following commands:

Basic Analysis

Analyze a POM file and display the dependencies in the console:

pomanalyzer <pom.xmlfilepath>

Generate HTML Report

Generate an HTML report of the dependencies:

pomanalyzer --html <pom.xmlfilepath>

Generate Markdown Report

Generate a Markdown report of the dependencies:

pomanalyzer --markdown <pom.xmlfilepath>

Generate Both HTML and Markdown Reports

Generate both HTML and Markdown reports:

pomanalyzer --markdown --html <pom.xmlfilepath>

Specify Output Folder

Generate reports and save them to a specific output folder:

pomanalyzer --markdown --html --output-folder output <pom.xmlfilepath>

Example Output

Console Output

Analyzing POM file: <pom.xmlfilepath>
Maven Dependencies:
| Group ID       | Artifact ID    | Version  |
|----------------|----------------|----------|
| org.example    | example-lib    | 1.0.0    |
| org.example    | another-lib    | 2.1.0    |

Duplicate Dependencies:
| Dependency         | Versions       |
|--------------------|----------------|
| org.example:lib    | 1.0.0, 1.1.0   |

HTML and Markdown Reports

Reports are saved in the specified output folder with filenames like:

  • Maven_Dependencies_report.html
  • Maven_Dependencies_report.md

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contributing

Contributions are welcome! Feel free to open issues or submit pull requests to improve the tool.

Support

For issues or feature requests, please visit the GitHub Issues page.

Example Commands

pomanalyzer ./test/Test1.xml
pomanalyzer --html ./test/Test1.xml
pomanalyzer --markdown ./test/Test1.xml
pomanalyzer --markdown --html ./test/Test1.xml
pomanalyzer --markdown --html --output-folder output ./test/Test1.xml

Report Examples

Terminal View

Terminal Report

HTML View

HTML Report

Markdown View

Markdown Report

Quality Assurance

This package is thoroughly tested with over 90% code coverage to ensure reliability.

Test Coverage

Documentation

For more detailed information, please check the Documentation.

Compatibility

Developed and tested with:

  • npm v11.1.0
  • Node.js v22.13.0