1.0.3 • Published 4 years ago

@loxon-solutions/surveyor v1.0.3

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

Surveyor

npm-publish npm version !project status

Surveyor is a tool to parse a project and create documentation diagrams (like maps for the software) automatically. Diagrams are represented internally as a graph, and this graph can be exported in various formats.

Features

  • Export to PUML notation
  • Export to Neo4J database
  • Extendible with new parsers and writers
  • Job queue mechanism, parsers can push new elements to the queue.
  • Parameters can be read from file (where secrets can be kept)

Usage

  1. Install this library
    npm install --save @loxon-solutions/surveyor
  2. Create index.ts file in your project

    import {Surveyor} from '@loxon-solutions/surveyor';
    
    new Surveyor()
        .addParser(ProjectDependencyParser)
        .addParser(TepeeMessageParser)
        .addParser(TepeeMessageAgentParser)
        .run();

    In this file, you have to add your custom parsers and writers. (PUML and Neo4J writer is added by default, together with a sample maven dependency tree parser).

  3. Execute your program:

    npm start -- --help

Contribution

Contributions are welcome, just create a pull request.

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago