@loxon-solutions/surveyor
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @loxon-solutions/surveyor

Weekly Downloads

0

Version

1.0.3

License

MIT

Unpacked Size

316 kB

Total Files

49

Last publish

Collaborators

  • loxon-solutions