Download Latest Version 9.15.1 source code.zip (93.9 MB) Google Add to Preferred Sources
Home / 9.13.0
Name Modified Size InfoDownloads / Week
Parent folder
9.13.0 source code.tar.gz 2026-10-19 92.7 MB
9.13.0 source code.zip 2026-10-19 93.5 MB
README.md 2026-10-19 4.3 kB
Totals: 3 Items   186.2 MB 0

9.13.0 adds three features and drops two dependencies. A document can now have VBA macros, which makes it a macro-enabled .docm. Write them from VBA code with createMacros, from the new docx/macros entry, or pass in the vbaProject.bin from a .docm that Word saved (#471). A numbered paragraph can restart its list with numbering: { restart: true }, so you no longer have to make up instance numbers (#3037). Runs can use Word's Two Lines in One and Horizontal in Vertical with eastAsianLayout (#1943). docx now reads and writes XML itself, so it no longer depends on xml and xml-js, which are no longer maintained (#3471). There are also fixes for several long-standing issues. patchDocument can read a template from a stream (#2321). An index entry field no longer scrambles the document in Word (#1546), and a table row with no cells is left out, since Word can't open it (#2724). Components made by another copy of docx, such as one bundled with a plugin, are written correctly (#2988). When page numbers come from docx/layout, a numbered heading's table of contents entry now starts with its number (#1130).

What's Changed

Full Changelog: https://github.com/dolanmiu/docx/compare/9.12.0...9.13.0

Source: README.md, updated 2026-10-19