@office-kit/docx

TypeScript library to create and edit Word documents in Node and the browser

Visit website
@office-kit/docx
Visit website

Overview

Generating a Word document from an app usually ends in one of two places: fighting a heavyweight office suite on a server, or shipping a template hack that breaks on the next document.

@office-kit/docx creates .docx files from scratch and edits existing templates, from the same TypeScript codebase — in Node.js or in the browser.

What it does

  • Creates Word documents from scratch when there's no template to start from
  • Edits existing .docx templates when there is
  • Reads and writes the .docx format programmatically

How it runs

A TypeScript library that runs in Node.js and modern browsers alike, so document generation can live wherever your app already runs — a backend job or the user's own tab.

Who it's for

Developers adding Word export to a product: contracts from templates, reports from data, letters from form input — anywhere a real .docx has to come out the other end.

  • TypeScript library to read, edit and write PowerPoint files in Node and the browser

    Document Parsing Ocr
  • TypeScript library to read, edit and write Excel workbooks in Node and the browser

    Document Parsing Ocr
  • Rust library that converts Office documents and PDFs to clean Markdown

    Document Parsing Ocr