Build a custom document processing pipeline that needs raw, low level access to a docx file's internal XML structure.
Parse uploaded Word documents directly in a browser using the WebAssembly build, without sending files to a server.
Stream large docx files as JSONL events from the command line for logging or downstream processing.
Use the Node.js wrapper to inspect docx file internals as part of a document conversion or validation tool.
| anulman/docx-sax | atrblizzard/vtmb-sbox-mounter | jason-snell/npm-age-checker-proxy | |
|---|---|---|---|
| Stars | 0 | 0 | 0 |
| Language | C# | C# | C# |
| Setup difficulty | moderate | moderate | — |
| Complexity | 4/5 | 3/5 | — |
| Audience | developer | developer | ops devops |
Figures from each repo's GitHub metadata at analysis time.
Requires the .NET 8 SDK and, for the browser build, Node.js and Playwright/Vite tooling for the WASM demo.
docx-sax is a developer tool for reading the internal structure of Word docx files. Instead of giving you a finished document object with paragraphs and headings, it streams out low level events as it walks through the file's OpenXML package: when a part starts and ends, what relationships exist between files inside the package, when an XML element opens or closes, and when text is found. It keeps details like namespaces, attribute values, file paths, and event order intact, which makes it useful for people who need precise control over how a docx file is parsed rather than a simplified summary. The core is a .NET 8 library built on Microsoft's Open XML SDK. Around that core, the project offers several ways to use the parser depending on your platform. There is a command line tool that outputs one JSON event per line, a Node.js wrapper that reads docx files from disk, and a browser wrapper built on WebAssembly that reads file bytes directly, useful for parsing uploaded documents in a web page without a server round trip. All three interfaces share the same event structure, so code written against one behaves consistently across the others. The project is explicit about what it will not do. It has no interest in offering paragraph or heading level concepts, no document editing or authoring features, and no JSON first design in its core library. It is meant purely as a low level walker over the file format, leaving any higher level interpretation to whoever uses it. The repository includes a Next.js demo app that shows the browser version parsing an uploaded docx file live. Development uses standard dotnet and npm tooling, with a continuous integration setup that builds and tests across Linux, Windows, and macOS. The project is still early stage, versioned in the 0.x range while its event format continues to change, and it recommends prerelease version numbers until the API is considered stable.
A .NET library and CLI/Node/browser tool that streams low level parsing events from inside .docx files instead of returning a finished document object.
Mainly C#. The stack also includes .NET 8, C#, Open XML SDK.
Setup difficulty is rated moderate, with roughly 1h+ to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.