@office-open/docx 0.7.1 → 0.8.1

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 CHANGED
@@ -4,7 +4,7 @@
4
4
  ![npm downloads](https://img.shields.io/npm/dw/@office-open/docx)
5
5
  ![npm license](https://img.shields.io/npm/l/@office-open/docx)
6
6
 
7
- > Easily generate .docx files with JS/TS with a nice declarative API. Works for Node and on the Browser.
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
- # Install with npm
39
- $ npm install @office-open/docx
38
+ # pnpm
39
+ pnpm add @office-open/docx
40
40
 
41
- # Install with pnpm
42
- $ pnpm add @office-open/docx
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
@@ -3,7 +3,6 @@ var __defProp = Object.defineProperty;
3
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
5
  var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __esmMin = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
7
6
  var __exportAll = (all, no_symbols) => {
8
7
  let target = {};
9
8
  for (var name in all) __defProp(target, name, {
@@ -24,6 +23,5 @@ var __copyProps = (to, from, except, desc) => {
24
23
  return to;
25
24
  };
26
25
  var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
27
- var __toCommonJS = (mod) => __hasOwnProp.call(mod, "module.exports") ? mod["module.exports"] : __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
26
  //#endregion
29
- export { __toCommonJS as i, __exportAll as n, __reExport as r, __esmMin as t };
27
+ export { __reExport as n, __exportAll as t };