docx

Easily generate .docx files with JS/TS with a solid API. Works for Node and on the Browser.

Github stars Tracking Chart


NPM version
Downloads per month
Build Status
Dependency Status
Known Vulnerabilities
Chat on Gitter
PRs Welcome
codecov

Demo

Browser

Here are examples of docx being used with basic HTML/JS in a browser environment:

Here is an example of docx working in Angular:

Node

Press endpoint on the RunKit website:

RunKit Instructions

More here and here

How to use & Documentation

Please refer to the documentation at https://docx.js.org/ for details on how to use this library, examples and much more!

Examples

Check the examples section in the documentation and the demo folder for examples.

Contributing

Read the contribution guidelines here.

Used by










...and many more!


patreon
browserstack

Made with ?

Main metrics

Overview
Name With Ownerdolanmiu/docx
Primary LanguageTypeScript
Program languageTypeScript (Language Count: 1)
Platform
License:MIT License
所有者活动
Created At2016-03-26 23:43:56
Pushed At2025-06-24 11:46:13
Last Commit At2025-06-16 23:05:24
Release Count91
Last Release Name9.5.1 (Posted on 2025-06-16 23:06:58)
First Release Name1.0.1 (Posted on )
用户参与
Stargazers Count5k
Watchers Count46
Fork Count535
Commits Count3.9k
Has Issues Enabled
Issues Count854
Issue Open Count121
Pull Requests Count1297
Pull Requests Open Count11
Pull Requests Close Count699
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private