ReadonlysyntaxThe RDF syntax this formatter handles.
Optionaloptions: NTriplesFormatterOptionsFormats an N-Triples document.
Optionaloptions: NTriplesFormatterOptionsFormats from already-parsed tokens.
Optionaloptions: NTriplesFormatterOptions & TokenSerializerOptions
Formatter for N-Triples (line-based RDF format).
N-Triples is a simple line-based format where each line contains exactly one triple: subject predicate object .
This formatter normalizes spacing and ensures proper line endings.
See
https://www.w3.org/TR/rdf12-n-triples/