# docx — card for AI agents

Generate Microsoft Word (.docx) documents programmatically from JavaScript/TypeScript.

Category: Files, images and media · npm package `docx` · latest version 9.15.1 (checked 2026-11-01)
Install: `npm install docx`
License: MIT (permissive)

In your own product (generator, app, hosted service): **yes**. Permissive license: ship it inside your own product, closed or open source, and keep its license and copyright notice.

## Agent Skills for it
- docx from anthropics/skills: `npx skills add anthropics/skills --skill docx`
- docx from nexu-io/open-design: `npx skills add nexu-io/open-design --skill docx`
- docx from HKUDS/DeepTutor: `npx skills add HKUDS/DeepTutor --skill docx`
- docx from ThinkInAIXYZ/deepchat: `npx skills add ThinkInAIXYZ/deepchat --skill docx`
- docx from davepoon/buildwithclaude: `npx skills add davepoon/buildwithclaude --skill docx`
- docx from snyk/agent-scan: `npx skills add snyk/agent-scan --skill docx`

## Numbers (AgentGid data)
- Gid Score: 66.2 (#599 of all tools, 38 of 281 in its category)
- Used in 27 public projects set up for AI coding agents (0.4%)
- Downloads last week: 12,349,862 (as of 2026-11-24), +65.0% over 4 weeks
- GitHub stars: 6,010 (as of 2026-11-24)
- Last push: 2026-11-23

## Often used with
jsdom 44.4%, SheetJS 40.7%, Playwright (JavaScript) 51.9%, Supabase JS 40.7%, ESLint 74.1%, Zod 59.3%

## Checked alternatives (same job)
- jsPDF: https://agentgid.com/tools/jspdf/agent.md
- SheetJS: https://agentgid.com/tools/xlsx/agent.md
- pdf-lib: https://agentgid.com/tools/pdf-lib/agent.md

## Links
- AgentGid page: https://agentgid.com/tools/docx/
- Homepage: https://docx.js.org
- Repository: https://github.com/dolanmiu/docx

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
