Writes a trio document.
const trio = new TrioWriter() .addComment('A comment') .addNewLine() .addDict(dict) .addDict(dict2) .toTrio() Copy
const trio = new TrioWriter() .addComment('A comment') .addNewLine() .addDict(dict) .addDict(dict2) .toTrio()
Optional
Add a comment to be written out into the trio document.
The comment to add.
The trio writer instance.
Add a dict to be written out into the trio document.
Add all of a grid's rows (dicts) to the trio document.
The grid to add.
Adds a new line to be written out into the trio document.
The trio write instance.
The trio document from the writer's items.
Static
The dict to encode.
Additional options for writing trio.
The dict as trio encoded.
Writes a trio document.