DOCX
Generate .docx files with JS/TS with a nice declarative API
... an AlignmentType option on the paragraph.for center, left, right or justified. When a paragraph is justified, you may want to not justify the contents of incomplete lines, which end in a soft line break. Paragraphs have .keepLines() and .keepNext() methods that allow restricting page breaks within and between paragraphs. To move to a new page, insert a page break.