md2docx/mdast2docx

Utility to convert MDAST (Markdown Abstract Syntax Tree) to DOCX

47
/ 100
Emerging

Built on the `unified.js` and `docx.js` ecosystems, this library provides a plugin-driven architecture with a modular core that keeps bundle sizes minimal while supporting optional features like images, tables, and math via scoped packages. It works isomorphically in Node.js and browsers, making it ideal for converting AI-generated Markdown into professionally formatted DOCX documents. The API accepts MDAST trees directly or integrates with `remark` plugins for seamless pipeline processing and fine-grained styling control via `docx.js` properties.

Available on npm.

Maintenance 13 / 25
Adoption 7 / 25
Maturity 18 / 25
Community 9 / 25

How are scores calculated?

Stars

28

Forks

3

Language

TypeScript

License

MPL-2.0

Last pushed

Mar 13, 2026

Commits (30d)

0

Dependencies

9

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/generative-ai/md2docx/mdast2docx"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.