IdeaCredIdeaCred

md2docx/md2docx-legacy

79

@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 rounds

A 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

Innovation
5 (25%)
Craft
79 (35%)
Traction
6 (15%)
Scope
78 (25%)

Signal breakdown

Innovation

Not Fork+1
Code Novelty+1
Concept Novelty+1

Craft

Ci+5
Tests+8
Polish+4
Releases+3
Has License+5
Code Quality+17
Readme Quality+15
Recent Activity+7
Structure Quality+5
Commit Consistency+5
Has Dependency Mgmt+5

Traction

Forks+0
Stars+6
Hn Points+0
Watchers+0
Early Traction+0
Devto Reactions+0
Community Contribs+0

Scope

Commits+8
Languages+8
Subsystems+13
Bloat Penalty+0
Completeness+7
Contributors+5
Authored Files+15
Readme Code Match+3
Architecture Depth+7
Implementation Depth+8

Evidence

Commits

531

Contributors

1

Files

135

Active weeks

23

TestsCI/CDREADMELicenseContributing

Repository

Language

TypeScript

Stars

1

Forks

0

License

MPL-2.0