Class TrioWriter

Writes a trio document.

const trio = new TrioWriter()
.addComment('A comment')
.addNewLine()
.addDict(dict)
.addDict(dict2)
.toTrio()

Hierarchy

  • TrioWriter

Constructors

Methods

  • Add a comment to be written out into the trio document.

    Parameters

    • Optional comment: string

      The comment to add.

    Returns TrioWriter

    The trio writer instance.

Generated using TypeDoc