@office-open/docx 0.7.1 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -6
- package/dist/index.d.mts +749 -89
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +2223 -587
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|

|
|
5
5
|

|
|
6
6
|
|
|
7
|
-
>
|
|
7
|
+
> Generate, parse, and patch .docx documents with a declarative TypeScript API. Works in Node.js and browsers.
|
|
8
8
|
|
|
9
9
|
## Features
|
|
10
10
|
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
- 📖 **Table of Contents** — Auto-generated table of contents with custom styling
|
|
20
20
|
- 📝 **Footnotes & Endnotes** — Comprehensive footnote and endnote support
|
|
21
21
|
- 📈 **Charts** — Bar, line, pie, area, and scatter charts with customization
|
|
22
|
-
- 🔢 **Math Equations** — Full mathematical equation support via MathML
|
|
22
|
+
- 🔢 **Math Equations** — Full mathematical equation support via Office MathML (OMML)
|
|
23
23
|
- 🧩 **SmartArt** — Built-in SmartArt graphic generation
|
|
24
24
|
- 📚 **Bibliography** — Source management and citation support
|
|
25
25
|
- 💬 **Comments** — Document comments with author and date tracking
|
|
@@ -35,11 +35,17 @@
|
|
|
35
35
|
## Installation
|
|
36
36
|
|
|
37
37
|
```bash
|
|
38
|
-
#
|
|
39
|
-
|
|
38
|
+
# pnpm
|
|
39
|
+
pnpm add @office-open/docx
|
|
40
40
|
|
|
41
|
-
#
|
|
42
|
-
|
|
41
|
+
# npm
|
|
42
|
+
npm install @office-open/docx
|
|
43
|
+
|
|
44
|
+
# yarn
|
|
45
|
+
yarn add @office-open/docx
|
|
46
|
+
|
|
47
|
+
# bun
|
|
48
|
+
bun add @office-open/docx
|
|
43
49
|
```
|
|
44
50
|
|
|
45
51
|
## Quick Start
|