9c60cfcbc7225ab7ff8a21bb83d91e2e05b70921
Bumps the npm_and_yarn group with 15 updates: | Package | From | To | | --- | --- | --- | | [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) | `2.1.8` | `2.1.9` | | [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8) | `2.1.8` | `2.1.9` | | [@vitest/ui](https://github.com/vitest-dev/vitest/tree/HEAD/packages/ui) | `2.1.8` | `2.1.9` | | [dompurify](https://github.com/cure53/DOMPurify) | `2.5.7` | `removed` | | [docsify](https://github.com/docsifyjs/docsify) | `4.12.2` | `4.13.1` | | [docsify-server-renderer](https://github.com/docsifyjs/docsify) | `4.12.2` | `4.13.1` | | [elliptic](https://github.com/indutny/elliptic) | `6.6.0` | `6.6.1` | | [esbuild](https://github.com/evanw/esbuild) | `0.21.5` | `0.25.1` | | [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8) | `2.1.9` | `3.0.8` | | [@vitest/ui](https://github.com/vitest-dev/vitest/tree/HEAD/packages/ui) | `2.1.9` | `3.0.8` | | [tsx](https://github.com/privatenumber/tsx) | `4.19.2` | `4.19.3` | | [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) | `6.0.9` | `6.2.2` | | [vite-plugin-node-polyfills](https://github.com/davidmyersdev/vite-plugin-node-polyfills) | `0.22.0` | `0.23.0` | | [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) | `2.1.9` | `3.0.8` | | [prismjs](https://github.com/PrismJS/prism) | `1.27.0` | `1.30.0` | Updates `vitest` from 2.1.8 to 2.1.9 - [Release notes](https://github.com/vitest-dev/vitest/releases) - [Commits](https://github.com/vitest-dev/vitest/commits/v2.1.9/packages/vitest) Updates `@vitest/coverage-v8` from 2.1.8 to 2.1.9 - [Release notes](https://github.com/vitest-dev/vitest/releases) - [Commits](https://github.com/vitest-dev/vitest/commits/v2.1.9/packages/coverage-v8) Updates `@vitest/ui` from 2.1.8 to 2.1.9 - [Release notes](https://github.com/vitest-dev/vitest/releases) - [Commits](https://github.com/vitest-dev/vitest/commits/v2.1.9/packages/ui) Removes `dompurify` Updates `docsify` from 4.12.2 to 4.13.1 - [Release notes](https://github.com/docsifyjs/docsify/releases) - [Changelog](https://github.com/docsifyjs/docsify/blob/v4.13.1/CHANGELOG.md) - [Commits](https://github.com/docsifyjs/docsify/compare/v4.12.2...v4.13.1) Updates `docsify-server-renderer` from 4.12.2 to 4.13.1 - [Release notes](https://github.com/docsifyjs/docsify/releases) - [Changelog](https://github.com/docsifyjs/docsify/blob/v4.13.1/CHANGELOG.md) - [Commits](https://github.com/docsifyjs/docsify/compare/v4.12.2...v4.13.1) Updates `elliptic` from 6.6.0 to 6.6.1 - [Commits](https://github.com/indutny/elliptic/compare/v6.6.0...v6.6.1) Updates `esbuild` from 0.21.5 to 0.25.1 - [Release notes](https://github.com/evanw/esbuild/releases) - [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG-2024.md) - [Commits](https://github.com/evanw/esbuild/compare/v0.21.5...v0.25.1) Updates `@vitest/coverage-v8` from 2.1.9 to 3.0.8 - [Release notes](https://github.com/vitest-dev/vitest/releases) - [Commits](https://github.com/vitest-dev/vitest/commits/v2.1.9/packages/coverage-v8) Updates `@vitest/ui` from 2.1.9 to 3.0.8 - [Release notes](https://github.com/vitest-dev/vitest/releases) - [Commits](https://github.com/vitest-dev/vitest/commits/v2.1.9/packages/ui) Updates `tsx` from 4.19.2 to 4.19.3 - [Release notes](https://github.com/privatenumber/tsx/releases) - [Changelog](https://github.com/privatenumber/tsx/blob/master/release.config.cjs) - [Commits](https://github.com/privatenumber/tsx/compare/v4.19.2...v4.19.3) Updates `vite` from 6.0.9 to 6.2.2 - [Release notes](https://github.com/vitejs/vite/releases) - [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite/commits/v6.2.2/packages/vite) Updates `vite-plugin-node-polyfills` from 0.22.0 to 0.23.0 - [Release notes](https://github.com/davidmyersdev/vite-plugin-node-polyfills/releases) - [Commits](https://github.com/davidmyersdev/vite-plugin-node-polyfills/compare/v0.22.0...v0.23.0) Updates `vitest` from 2.1.9 to 3.0.8 - [Release notes](https://github.com/vitest-dev/vitest/releases) - [Commits](https://github.com/vitest-dev/vitest/commits/v2.1.9/packages/vitest) Updates `prismjs` from 1.27.0 to 1.30.0 - [Release notes](https://github.com/PrismJS/prism/releases) - [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md) - [Commits](https://github.com/PrismJS/prism/compare/v1.27.0...v1.30.0) --- updated-dependencies: - dependency-name: vitest dependency-type: direct:development dependency-group: npm_and_yarn - dependency-name: "@vitest/coverage-v8" dependency-type: direct:development dependency-group: npm_and_yarn - dependency-name: "@vitest/ui" dependency-type: direct:development dependency-group: npm_and_yarn - dependency-name: dompurify dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: docsify dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: docsify-server-renderer dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: elliptic dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: esbuild dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: "@vitest/coverage-v8" dependency-type: direct:development dependency-group: npm_and_yarn - dependency-name: "@vitest/ui" dependency-type: direct:development dependency-group: npm_and_yarn - dependency-name: tsx dependency-type: direct:development dependency-group: npm_and_yarn - dependency-name: vite dependency-type: direct:development dependency-group: npm_and_yarn - dependency-name: vite-plugin-node-polyfills dependency-type: direct:development dependency-group: npm_and_yarn - dependency-name: vitest dependency-type: direct:development dependency-group: npm_and_yarn - dependency-name: prismjs dependency-type: indirect dependency-group: npm_and_yarn ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Easily generate and modify .docx files with JS/TS. Works for Node and on the Browser.
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
:
- https://stackblitz.com/edit/react-docx
- https://stackblitz.com/edit/react-docx-images (adding images to Word Document)
Here is an example of docx
working in Vue.js
:
Node
Press endpoint
on the RunKit
website:
- https://runkit.com/dolanmiu/docx-demo1 - Simple paragraph and text
- https://runkit.com/dolanmiu/docx-demo2 - Advanced Paragraphs and text
- https://runkit.com/dolanmiu/docx-demo3 - Bullet points
- https://runkit.com/dolanmiu/docx-demo4 - Simple table
- https://runkit.com/dolanmiu/docx-demo5 - Images
- https://runkit.com/dolanmiu/docx-demo6 - Margins
- https://runkit.com/dolanmiu/docx-demo7 - Landscape
- https://runkit.com/dolanmiu/docx-demo8 - Header and Footer
- https://runkit.com/dolanmiu/docx-demo10 - My CV generated with docx
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
...and many more!
Made with 💖
Description
Languages
TypeScript
100%