SysProM
    Preparing search index...

    Function loadDocument

    • Load a SysProM document from a file (JSON or Markdown).

      Parameters

      • input: string

        File path or directory to load from.

      Returns LoadedDocument

      The loaded document with its detected format and resolved path.

      const { doc, format } = loadDocument("project.spm.json");