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

You Might Also Like
All-in-One IT Monitoring - No More Blind Spots Icon
All-in-One IT Monitoring - No More Blind Spots

Stop juggling tools. PRTG gives you a complete, real-time view of your IT: servers, devices, cloud, and more - in one easy dashboard.

Tired of switching between different tools and missing critical alerts? PRTG brings everything together, monitoring your entire IT infrastructure from a single, intuitive interface. Whether it’s servers, switches, printers, or cloud services, you get instant visibility and clear notifications - no technical jargon, no clutter. Set up in minutes, PRTG helps you prevent downtime, reduce stress, and prove your value to your company. Focus on your job, not on chasing issues. Try PRTG and experience true IT peace of mind.
Get Your Unified IT Trial
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