Latest / Developer tools

DOM-docx

github.com · Package · Active

Convert HTML fragments to editable Word documents

Visit github.com ↗Share

Stars
495
Forks
27
Open issues
0
Last commit
Found
4 months ago

GitHub figures as of . They are context, not a ranking.

A TypeScript library that turns semantic HTML fragments into native Word files in OOXML format, so the output stays editable. It is MIT licensed and suits developers who generate documents from web content.

Repository description on GitHub: “Convert semantic HTML fragments to native, editable Word documents (OOXML)”

What it does

  • Converts semantic HTML into native, editable docx files in OOXML
  • Supports paragraphs, runs, lists, tables, flex layout and images
  • Pure JavaScript inline path that needs no browser
  • Optional Playwright and Chromium for computed styles on Node

Good for

  • Turn a web article into an editable Word document
  • Generate Word reports from HTML in Node
  • Export HTML content to docx from a browser

Suits: Developers generating Word documents from web content.

Worth knowing: Requires Node.js 20 or later, and computed styles need Playwright with Chromium.

What you can try

Read the README on GitHub and install from source.

Install

npx dom-docx
npm install dom-docx

Confirmed against the package registry. Read the project’s own instructions before running anything.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw DOM-docx on , when fishbone posted it to Show HN. GitHub listed no published releases for floodtide/dom-docx when checked , so the project may ship straight from its main branch. The repository was created .

Day-7 and day-30 updates

Day 7 no new release

  • No tagged release was published in the first 7 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 158 points, 40 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 no new release

  • No tagged release was published in the first 30 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 158 points, 40 comments. API record

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

  1. Repository created on GitHub: floodtide/dom-docx
  2. Found: fishbone posted it to Show HN. Show HN
  3. Day-7 check recorded by Kip (details)
  4. Day-30 check recorded by Kip (details)

Quick answers

When was DOM-docx released?
No dated release record is available. Kip found it on Show HN on 13 Jul 2026.
Is DOM-docx open source?
Its source is public on GitHub at floodtide/dom-docx under the MIT licence.
What does DOM-docx run on?
Library, Web.
Is DOM-docx free?
It is open source, so the code is free to read and run; check the licence for terms.
Is DOM-docx still maintained?
Yes. It had a commit or release in the last 90 days as of the latest check.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
GitHub repositoryfloodtide/dom-docx
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-48891267. Summary drafted with AI from the source records above and checked against KipFound’s rules before publishing. Dates and release facts come only from those records.

Share

Similar tools

More in Developer tools

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.