A feature-incomplete but robust PEG-based parser for PlantUML syntax, written in JavaScript/TypeScript. Version 0.4.0 (latest) as of 2021, low release cadence. Designed to be used as a library or CLI. Key differentiators: focuses on graceful degradation, parsing partial diagrams without full syntax knowledge, and maintains a large set of test fixtures for reverse engineering the informal PlantUML spec. Not yet feature-complete; contributions welcome.
npm install plantuml-parserNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Parse a simple class diagram from PlantUML and log the AST and formatted output.
Contribute to the parser or use alternative tools like plantuml.jar for full support.
Consider locking PEG.js version or migrating to a different parser if needed.
Verify file patterns and ensure at least one file matches.
Ensure the input starts with '@startuml' or a recognized start directive.
Update to version 0.4.0 or later, or use formatters['default'] as an alternative.
Run 'npm install plantuml-parser' and ensure the package is in dependencies.
No dependency data recorded yet.