A Node.js library (v1.0.0, MIT) that converts PlantUML class diagrams into code for Java, C#, Python, Ruby, Kotlin, JavaScript, and TypeScript. Supports classes, interfaces, enums, abstract classes, generics, visibility modifiers, static/final members, and package/namespace handling. Key differentiators: multi-language output from a single PlantUML source, language-specific idioms, and type system mapping. Actively maintained with monthly releases.
npm install plantuml-transpilerNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a transpiler instance, parses a PlantUML class diagram with classes, interface, and relationships, then generates Java and TypeScript code.
Validate PlantUML with a PlantUML parser before transpiling.
Pin dependency to ^1.0.0 and test on upgrade.
Switch to ES module imports: import PlantUMLTranspiler from 'plantuml-transpiler'
Use TypeScript or run tsc to generate declarations.
Use 'import PlantUMLTranspiler from 'plantuml-transpiler'' or 'const { default: PlantUMLTranspiler } = require('plantuml-transpiler')'Use lowercase language name: 'java', 'csharp', 'python', 'ruby', 'kotlin', 'javascript', or 'typescript'
Ensure PlantUML starts with @startuml and ends with @enduml, and follows PlantUML class diagram syntax.
No dependency data recorded yet.