autouml
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

autouml

A UML generation tool for TypeScript codebases. Primarily uses the TypeScript compiler API to compile type relations and d2 to render the class diagrams.

Requirements

  • node >=18

Usage

This tool is primarily used as a command line tool. Install it using

npm i autouml --save-dev

If this is being used in code, --save the package instead. Refer to the documentation for more information.

The command line tool comes with a few options. For a comprehensive list, run npx autouml --help.

Documentation

The official documentation can be hound here. This documentation is designed for developers of this project, and documents the entire codebase. For API information, refer to the exposed functions and classes listed here.

Roadmap

This project can expand in a few directions. The following are a few directions that are currently being considered:

  • tsdoc integration
  • more compilation targets (mermaid, plantuml)
  • javascript project support

Known Issues

The following is a lsit of currently known issues.

  • Empty interfaces are primitives
  • Type literals are interpreted as __type

Package Sidebar

Install

npm i autouml

Weekly Downloads

2

Version

1.0.3

License

MIT

Unpacked Size

70.6 kB

Total Files

30

Last publish

Collaborators

  • wilgao09