@mdgate/iwork-common 0.6.7 → 0.6.9

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.
Files changed (2) hide show
  1. package/README.md +41 -5
  2. package/package.json +6 -6
package/README.md CHANGED
@@ -1,8 +1,44 @@
1
1
  # @mdgate/iwork-common
2
2
 
3
- Shared Apple iWork archive parsing used by `@mdgate/pages`, `@mdgate/numbers`,
4
- and `@mdgate/keynote`: ZIP/`Index.zip` opening, Snappy IWA chunks, protobuf wire
5
- decoding, TSWP text storage, and TST tables.
3
+ **Internal Apple iWork archive parsing for mdgate converters.**
6
4
 
7
- Internal shared library for the mdgate converters. Install a converter package
8
- instead of depending on this directly.
5
+ This package is a shared library used by [`@mdgate/pages`](https://github.com/mdgate/converters/tree/main/packages/pages), [`@mdgate/numbers`](https://github.com/mdgate/converters/tree/main/packages/numbers), and [`@mdgate/keynote`](https://github.com/mdgate/converters/tree/main/packages/keynote). Install one of those packages or [`@mdgate/converters`](https://github.com/mdgate/converters/tree/main/packages/converters) instead of depending on this directly.
6
+
7
+ ---
8
+
9
+ ## What it provides
10
+
11
+ * ZIP / `Index.zip` opening
12
+ * Snappy IWA chunks
13
+ * protobuf wire decoding
14
+ * TSWP text storage
15
+ * TST tables
16
+ * older pre-IWA iWork documents
17
+
18
+ These helpers keep the three iWork converters on one archive implementation. Applications should not need them.
19
+
20
+ ---
21
+
22
+ ## Need a complete reader?
23
+
24
+ ```bash
25
+ npm install @mdgate/converters
26
+ ```
27
+
28
+ ```ts
29
+ import { toMarkdown } from '@mdgate/converters';
30
+
31
+ const markdown = await toMarkdown(bytes, {
32
+ path: filename,
33
+ });
34
+ ```
35
+
36
+ [`@mdgate/iwork-common`](https://github.com/mdgate/converters/tree/main/packages/iwork-common) is part of the open-source [`mdgate/converters`](https://github.com/mdgate/converters) project.
37
+
38
+ For AI agents, the same converter architecture can be used to extend `read_file` from text files to real-world document formats.
39
+
40
+ ---
41
+
42
+ ## License
43
+
44
+ MIT
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@mdgate/iwork-common",
3
- "version": "0.6.7",
3
+ "version": "0.6.9",
4
4
  "description": "mdgate shared Apple iWork (Pages/Numbers/Keynote) IWA parsing",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
- "homepage": "https://demo.mdgate.dev",
7
+ "homepage": "https://convert.mdgate.dev",
8
8
  "repository": {
9
9
  "type": "git",
10
10
  "url": "git+https://github.com/mdgate/converters.git",
@@ -28,10 +28,10 @@
28
28
  "prepublishOnly": "bun run build"
29
29
  },
30
30
  "dependencies": {
31
- "@mdgate/containers": "0.6.7",
32
- "@mdgate/core": "0.6.7",
33
- "@mdgate/document": "0.6.7",
34
- "@mdgate/utils": "0.6.7"
31
+ "@mdgate/containers": "0.6.9",
32
+ "@mdgate/core": "0.6.9",
33
+ "@mdgate/document": "0.6.9",
34
+ "@mdgate/utils": "0.6.9"
35
35
  },
36
36
  "publishConfig": {
37
37
  "access": "public"