md2docx/md2docx-legacy
@md2docx/md2docx — The simplest way to convert Markdown to DOCX. Batteries-included wrapper around all @m2d/* packages and Unified. One import, one call — full Markdown → Word conversion with HTML, images, math, tables, and more.
What's novel
@md2docx/md2docx — The simplest way to convert Markdown to DOCX. Batteries-included wrapper around all @m2d/* packages and Unified. One import, one call — full Markdown → Word conversion with HTML, images, math, tables, and more.
Code Analysis
5 files read · 3 roundsA thin wrapper around the `unified` parser pipeline that chains remark plugins and delegates DOCX generation to an external `@m2d/remark-docx` package.
Strengths
Clean, simple API with excellent naming conventions. Leverages a robust ecosystem of existing plugins (`remark`, `docx`) to provide a 'batteries-included' solution without reinventing the wheel. Good separation of concerns by delegating heavy lifting to specialized packages.
Weaknesses
Lacks explicit error handling and input validation in the core wrapper. Test coverage is minimal and mocks everything, providing little confidence in edge cases or plugin failures. The README's claim about auto-skipping plugins on the server is not reflected in the visible code.
Score Breakdown
Signal breakdown
Innovation
Craft
Traction
Scope
Evidence
Commits
531
Contributors
1
Files
135
Active weeks
23
Repository
Language
TypeScript
Stars
1
Forks
0
License
MPL-2.0