Automatic UML Diagram generator for JavaScript ES6 styled codebases.
Nodejs Version: v22.12.0
You can easily install @hvg24/umljs via npm:
npm install -g '@hvg24/umljs'umljs is a command-line tool that allows you to generate UML diagrams from your JavaScript ES6 codebase.
-v, --version: Output the version number.-i, --input <type>: Specify the input directory path containing the JavaScript files to be parsed for generating the UML diagram.-o, --output <type>: Specify the output image file name with the file extension (Supported formats: .svg and .png).-h, --help: Display help for the command.
Generate a UML diagram from your JavaScript code:
umljs -i /path/to/your/codebase -o output.pngReplace /path/to/your/codebase with the actual path to your JavaScript codebase directory. The UML diagram will be saved as output.png.
Github Repositories you can try generating UML for:
- https://github.com/DefiLlama/DefiLlama-Adapters
- /projects/helper/utils/
- https://github.com/QuiteAFancyEmerald/Holy-Unblocker
- /lib/rammerhead
If you have any questions, feedback, or encounter issues with this npm package, please feel free to reach out to the package developer:
This project is licensed under the MIT License - see the LICENSE file for details.
