@jackgreen2018/pdf-engine 1.0.10 → 1.0.12

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 (3) hide show
  1. package/README.md +18 -5
  2. package/package.json +1 -1
  3. package/pkg/README.md +18 -5
package/README.md CHANGED
@@ -1,3 +1,5 @@
1
+ > Scope: full engine (see [SCOPE.md](./SCOPE.md)).
2
+
1
3
  # pdf-engine — Rust/WASM PDF Processing Library
2
4
 
3
5
  [![npm version](https://img.shields.io/npm/v/@jackgreen2018/pdf-engine)](https://www.npmjs.com/package/@jackgreen2018/pdf-engine)
@@ -112,10 +114,10 @@ npm run benchmark
112
114
 
113
115
  | Operation | pdf-engine (ms) | pdf-lib (ms) |
114
116
  |-----------|-----------------|--------------|
115
- | Page Count | 0.57 | 1.48 |
116
- | Text Extraction | 0.27 | — |
117
- | Merge (2 files) | 1.12 | 4.20 |
118
- | Split (pages [0,1]) | 0.23 | 1.69 |
117
+ | Page Count | 0.60 | 1.34 |
118
+ | Text Extraction | 0.29 | — |
119
+ | Merge (2 files) | 1.01 | 3.84 |
120
+ | Split (pages [0,1]) | 0.21 | 2.01 |
119
121
 
120
122
  *extractText correctness: PASS — gated via `tests/fixtures/text-fixture.pdf` (FlateDecode-compressed, real-world content stream)*
121
123
 
@@ -142,6 +144,17 @@ m.initialize().then(() => m.getPageCount(new Uint8Array(buf)))
142
144
  '
143
145
  ```
144
146
 
147
+ ## Launch post
148
+
149
+ Draft lives at [`evidence/devto-launch-post.md`](./evidence/devto-launch-post.md).
150
+ Posting requires a `DEVTO_API_KEY` (manual step). README's published benchmark
151
+ numbers (`evidence/benchmark-output-v1.0.10.log`) are the source of truth until
152
+ the dev.to URL exists.
153
+
145
154
  ## See Also
146
155
 
147
- - [pdf-lib](https://www.npmjs.com/package/pdf-lib) — A popular JavaScript PDF library for comparison
156
+ - [pdf-lib](https://www.npmjs.com/package/pdf-lib) — A popular JavaScript PDF library for comparison
157
+
158
+ ## Backlinks
159
+
160
+ - Dev.to launch post (canonical for this version): TODO_FILL_AFTER_DEV_TO_PUBLISH
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jackgreen2018/pdf-engine",
3
- "version": "1.0.10",
3
+ "version": "1.0.12",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
package/pkg/README.md CHANGED
@@ -1,3 +1,5 @@
1
+ > Scope: full engine (see [SCOPE.md](./SCOPE.md)).
2
+
1
3
  # pdf-engine — Rust/WASM PDF Processing Library
2
4
 
3
5
  [![npm version](https://img.shields.io/npm/v/@jackgreen2018/pdf-engine)](https://www.npmjs.com/package/@jackgreen2018/pdf-engine)
@@ -112,10 +114,10 @@ npm run benchmark
112
114
 
113
115
  | Operation | pdf-engine (ms) | pdf-lib (ms) |
114
116
  |-----------|-----------------|--------------|
115
- | Page Count | 0.57 | 1.48 |
116
- | Text Extraction | 0.27 | — |
117
- | Merge (2 files) | 1.12 | 4.20 |
118
- | Split (pages [0,1]) | 0.23 | 1.69 |
117
+ | Page Count | 0.60 | 1.34 |
118
+ | Text Extraction | 0.29 | — |
119
+ | Merge (2 files) | 1.01 | 3.84 |
120
+ | Split (pages [0,1]) | 0.21 | 2.01 |
119
121
 
120
122
  *extractText correctness: PASS — gated via `tests/fixtures/text-fixture.pdf` (FlateDecode-compressed, real-world content stream)*
121
123
 
@@ -142,6 +144,17 @@ m.initialize().then(() => m.getPageCount(new Uint8Array(buf)))
142
144
  '
143
145
  ```
144
146
 
147
+ ## Launch post
148
+
149
+ Draft lives at [`evidence/devto-launch-post.md`](./evidence/devto-launch-post.md).
150
+ Posting requires a `DEVTO_API_KEY` (manual step). README's published benchmark
151
+ numbers (`evidence/benchmark-output-v1.0.10.log`) are the source of truth until
152
+ the dev.to URL exists.
153
+
145
154
  ## See Also
146
155
 
147
- - [pdf-lib](https://www.npmjs.com/package/pdf-lib) — A popular JavaScript PDF library for comparison
156
+ - [pdf-lib](https://www.npmjs.com/package/pdf-lib) — A popular JavaScript PDF library for comparison
157
+
158
+ ## Backlinks
159
+
160
+ - Dev.to launch post (canonical for this version): TODO_FILL_AFTER_DEV_TO_PUBLISH