Easily generate .docx files with JS/TS. Works for Node and on the Browser. You can mix and match whatever properties you want, or provide no properties. Setting the section type determines how the contents of the section will be placed relative to the previous section. You can specify additional properties to the section, by providing a properties attribute. Everything (text, images, graphs etc) in OpenXML is organized in paragraphs. To change the text alignment of a paragraph, add 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.

Features

  • Works for Node and on the Browser
  • Easily generate .docx files with JS/TS with a nice declarative API
  • You can add properties to the Word document by specifying options
  • Change background color of Document
  • Styles, numbering and footnotes
  • Hyperlinks and background change

Project Samples

Project Activity

See All Activity >

Categories

Documentation

License

MIT License

Follow DOCX

DOCX Web Site

Other Useful Business Software
Enterprise-grade ITSM, for every business Icon
Enterprise-grade ITSM, for every business

Give your IT, operations, and business teams the ability to deliver exceptional services—without the complexity.

Freshservice is an intuitive, AI-powered platform that helps IT, operations, and business teams deliver exceptional service without the usual complexity. Automate repetitive tasks, resolve issues faster, and provide seamless support across the organization. From managing incidents and assets to driving smarter decisions, Freshservice makes it easy to stay efficient and scale with confidence.
Try it Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of DOCX!

Additional Project Details

Programming Language

TypeScript

Related Categories

TypeScript Documentation Software

Registered

2022-03-08