Find a file
dependabot[bot] 88ddfa79be
build(deps): bump @types/node from 22.15.3 to 22.15.27 (#3127)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.15.3 to 22.15.27.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 22.15.27
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-31 14:32:01 +01:00
.github fix: Ensure necessary namespaces are in patched doc (#2698) 2025-01-06 22:19:00 +00:00
.vscode build(deps-dev): bump eslint from 8.57.1 to 9.13.0 (#2792) 2024-10-21 03:57:15 +01:00
demo Fix: separate vertical alignment enums for ITableCellOptions and ISectionPropertiesOptions (#3079) 2025-05-02 19:58:10 +01:00
docs Fix: separate vertical alignment enums for ITableCellOptions and ISectionPropertiesOptions (#3079) 2025-05-02 19:58:10 +01:00
logo Converted logo from raster to vector 2021-12-02 14:57:35 -06:00
ooxml-schemas Move schemas to better location 2021-09-30 00:36:28 +01:00
scripts Fix tests and build 2023-06-08 13:30:31 +01:00
src Fix: separate vertical alignment enums for ITableCellOptions and ISectionPropertiesOptions (#3079) 2025-05-02 19:58:10 +01:00
.cspell.json fix: Ensure necessary namespaces are in patched doc (#2698) 2025-01-06 22:19:00 +00:00
.editorconfig Ran npm run style.fix added "line_ending" configuration to .editorconfig to match the results 2021-01-26 15:09:12 +11:00
.gitattributes Fix reading template images in the browser 2022-01-20 16:20:28 +01:00
.gitignore #2846 Type error when importing docx in CJS file with TypeScript modu… (#2883) 2024-12-06 13:44:42 +00:00
.npmignore #2002 Add src to .npmignore 2023-03-18 21:27:08 +00:00
.npmrc Add default npmrc 2022-11-26 19:33:58 +00:00
.nvmrc Bump node version 2020-08-01 17:49:25 +01:00
.prettierrc.yml Simplify prettier command 2018-02-10 17:56:52 +00:00
eslint.config.ts #2846 Type error when importing docx in CJS file with TypeScript modu… (#2883) 2024-12-06 13:44:42 +00:00
LICENSE Initial commit 2016-03-26 23:43:57 +00:00
package-lock.json build(deps): bump @types/node from 22.15.3 to 22.15.27 (#3127) 2025-05-31 14:32:01 +01:00
package.json Version bump 2025-05-05 23:44:24 +01:00
README.md docs: add Playground (Docx.js Editor) url to README.md (#2965) 2025-02-23 20:36:33 +01:00
SECURITY.md Create SECURITY.md (#2765) 2024-10-14 00:09:03 +01:00
tsconfig.json Downgrade Build to ES2015 (#2473) 2023-12-25 01:50:26 +00:00
tsconfig.typedoc.json Fix tests and build 2023-06-08 13:30:31 +01:00
vite.config.ts #2846 Type error when importing docx in CJS file with TypeScript modu… (#2883) 2024-12-06 13:44:42 +00:00

clippy the assistant

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


NPM version Downloads per month GitHub Action Workflow Status Known Vulnerabilities PRs Welcome codecov Docx.js Editor

drawing

Demo

Browser

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

Here are examples of docx working in Angular:

Here are examples of docx working in React:

Here is an example of docx working in Vue.js:

Node

Press endpoint on the RunKit website:

RunKit Instructions

More 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!

Playground

Experience docx in action through Docx.js Editor, an interactive playground where you can code and preview the results in real-time.

Examples

Check the demo folder for examples.

Contributing

Read the contribution guidelines here.

Used by

drawing drawing drawing drawing drawing drawing drawing drawing drawing drawing drawing drawing drawing drawing drawing

...and many more!


patreon browserstack

Made with 💖