A lightweight .docx viewer for people who refuse to install Microsoft Office.
Converts Word documents to formatted terminal output, raw HTML, or a styled browser preview — all from the command line.
git clone https://github.com/sneaks/docview.git
cd docview
npm install
npm link# View in terminal with formatting
docview report.docx
# Raw HTML to stdout (great for piping)
docview report.docx --html
# Open styled preview in your browser
docview report.docx --open
# Save as a standalone HTML file
docview report.docx --output report.html
# JSON output (filename, html, text, messages)
docview report.docx --json- Headings, bold, italic
- Tables (ASCII in terminal, styled in HTML)
- Lists (bullet and numbered)
- Links and images
- Page breaks
npm testMIT