@jackgreen2018/pdf-engine 1.0.110 → 1.0.112

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 +7 -26
  2. package/package.json +1 -1
  3. package/pkg/README.md +7 -26
package/README.md CHANGED
@@ -5,7 +5,6 @@
5
5
  [![npm version](https://img.shields.io/npm/v/@jackgreen2018/pdf-engine)](https://www.npmjs.com/package/@jackgreen2018/pdf-engine)
6
6
  [![npm downloads](https://img.shields.io/npm/dt/@jackgreen2018/pdf-engine)](https://www.npmjs.com/package/@jackgreen2018/pdf-engine)
7
7
  [![License: MIT](https://img.shields.io/github/license/jackgreen/pdf-engine)](LICENSE)
8
- [![Sponsor](https://img.shields.io/static/v1?label=Sponsor&message=GitHub%20Sponsors&color=ea4aaa&logo=github-sponsors)](https://github.com/sponsors/jackgreen)
9
8
 
10
9
  A high-performance PDF processing library for Node.js and the browser. Built with Rust + WebAssembly. Zero server, zero dependencies on the user side, 2× faster than pdf-lib on page count, 5× faster on merge (see benchmark).
11
10
 
@@ -131,24 +130,16 @@ npm run benchmark
131
130
 
132
131
  | Operation | pdf-engine (ms) | pdf-lib (ms) |
133
132
  |-----------|-----------------|--------------|
134
- | Page Count | 0.75 | 1.64 |
135
- | Text Extraction | 0.39 | — |
136
- | Merge (2 files) | 1.03 | 4.15 |
137
- | Split (pages [0,1]) | 0.25 | 1.77 |
138
- | Encrypt (V4 AES-128) | 1.05 | — |
139
- | Decrypt | 0.38 | — |
133
+ | Page Count | 0.77 | 1.44 |
134
+ | Text Extraction | 0.29 | — |
135
+ | Merge (2 files) | 0.76 | 3.88 |
136
+ | Split (pages [0,1]) | 0.22 | 1.64 |
137
+ | Encrypt (V4 AES-128) | 0.79 | — |
138
+ | Decrypt | 0.35 | — |
140
139
 
141
140
  *extractText correctness: PASS — gated via `tests/fixtures/text-fixture.pdf` (FlateDecode-compressed, real-world content stream). v1.0.30 fixes extractText to return actual text instead of "No text extracted."*
142
141
 
143
- *Run 2026-08-03 (v1.0.110); raw JSON at benchmark-results.json.*
144
-
145
- ## Commercial license & support
146
-
147
- Need to ship `pdf-engine` in closed-source software without the MIT attribution requirement, or need it for procurement/legal sign-off? A perpetual, per-seat commercial license is $49 one-time.
148
-
149
- **[Buy the commercial license →](https://creem.io/product/prod_3ZlNAxFzbn9vwfT4Ho3OKJ)**
150
-
151
- See [COMMERCIAL-LICENSE.md](./COMMERCIAL-LICENSE.md) for full terms. Team licenses, POs, or questions: `jackgreen2018+sponsors@gmail.com`.
142
+ *Run 2026-08-03 (v1.0.111); raw JSON at benchmark-results.json.*
152
143
 
153
144
  ## License
154
145
 
@@ -181,16 +172,6 @@ m.initialize().then(() => m.getPageCount(new Uint8Array(buf)))
181
172
  | AC-8 | Final app repository commit is tagged `v1.0.0`; cycle scratch is absent and no web-deployment artifacts were added. | `evidence/git-tag.log`, final tree inspection |
182
173
  | AC-9 | Encrypt/decrypt round-trip preserves page count; `isEncrypted` correctly reports true for encrypted and false for unencrypted PDFs. | `tests/smoke.js` encrypt/decrypt tests, benchmark `encrypt` gate |
183
174
 
184
- ## Launch post
185
-
186
- Draft lives at [`evidence/devto-launch-post.md`](./evidence/devto-launch-post.md).
187
- Posting requires a `DEVTO_API_KEY` (manual step). README's published benchmark
188
- numbers (`evidence/benchmark.log`) are the source of truth until the dev.to URL exists.
189
-
190
175
  ## See Also
191
176
 
192
177
  - [pdf-lib](https://www.npmjs.com/package/pdf-lib) — A popular JavaScript PDF library for comparison
193
-
194
- ## Backlinks
195
-
196
- - Dev.to launch post (canonical for this version): https://www.npmjs.com/package/@jackgreen2018/pdf-engine
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jackgreen2018/pdf-engine",
3
- "version": "1.0.110",
3
+ "version": "1.0.112",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
package/pkg/README.md CHANGED
@@ -5,7 +5,6 @@
5
5
  [![npm version](https://img.shields.io/npm/v/@jackgreen2018/pdf-engine)](https://www.npmjs.com/package/@jackgreen2018/pdf-engine)
6
6
  [![npm downloads](https://img.shields.io/npm/dt/@jackgreen2018/pdf-engine)](https://www.npmjs.com/package/@jackgreen2018/pdf-engine)
7
7
  [![License: MIT](https://img.shields.io/github/license/jackgreen/pdf-engine)](LICENSE)
8
- [![Sponsor](https://img.shields.io/static/v1?label=Sponsor&message=GitHub%20Sponsors&color=ea4aaa&logo=github-sponsors)](https://github.com/sponsors/jackgreen)
9
8
 
10
9
  A high-performance PDF processing library for Node.js and the browser. Built with Rust + WebAssembly. Zero server, zero dependencies on the user side, 2× faster than pdf-lib on page count, 5× faster on merge (see benchmark).
11
10
 
@@ -131,24 +130,16 @@ npm run benchmark
131
130
 
132
131
  | Operation | pdf-engine (ms) | pdf-lib (ms) |
133
132
  |-----------|-----------------|--------------|
134
- | Page Count | 0.75 | 1.64 |
135
- | Text Extraction | 0.39 | — |
136
- | Merge (2 files) | 1.03 | 4.15 |
137
- | Split (pages [0,1]) | 0.25 | 1.77 |
138
- | Encrypt (V4 AES-128) | 1.05 | — |
139
- | Decrypt | 0.38 | — |
133
+ | Page Count | 0.77 | 1.44 |
134
+ | Text Extraction | 0.29 | — |
135
+ | Merge (2 files) | 0.76 | 3.88 |
136
+ | Split (pages [0,1]) | 0.22 | 1.64 |
137
+ | Encrypt (V4 AES-128) | 0.79 | — |
138
+ | Decrypt | 0.35 | — |
140
139
 
141
140
  *extractText correctness: PASS — gated via `tests/fixtures/text-fixture.pdf` (FlateDecode-compressed, real-world content stream). v1.0.30 fixes extractText to return actual text instead of "No text extracted."*
142
141
 
143
- *Run 2026-08-03 (v1.0.110); raw JSON at benchmark-results.json.*
144
-
145
- ## Commercial license & support
146
-
147
- Need to ship `pdf-engine` in closed-source software without the MIT attribution requirement, or need it for procurement/legal sign-off? A perpetual, per-seat commercial license is $49 one-time.
148
-
149
- **[Buy the commercial license →](https://creem.io/product/prod_3ZlNAxFzbn9vwfT4Ho3OKJ)**
150
-
151
- See [COMMERCIAL-LICENSE.md](./COMMERCIAL-LICENSE.md) for full terms. Team licenses, POs, or questions: `jackgreen2018+sponsors@gmail.com`.
142
+ *Run 2026-08-03 (v1.0.111); raw JSON at benchmark-results.json.*
152
143
 
153
144
  ## License
154
145
 
@@ -181,16 +172,6 @@ m.initialize().then(() => m.getPageCount(new Uint8Array(buf)))
181
172
  | AC-8 | Final app repository commit is tagged `v1.0.0`; cycle scratch is absent and no web-deployment artifacts were added. | `evidence/git-tag.log`, final tree inspection |
182
173
  | AC-9 | Encrypt/decrypt round-trip preserves page count; `isEncrypted` correctly reports true for encrypted and false for unencrypted PDFs. | `tests/smoke.js` encrypt/decrypt tests, benchmark `encrypt` gate |
183
174
 
184
- ## Launch post
185
-
186
- Draft lives at [`evidence/devto-launch-post.md`](./evidence/devto-launch-post.md).
187
- Posting requires a `DEVTO_API_KEY` (manual step). README's published benchmark
188
- numbers (`evidence/benchmark.log`) are the source of truth until the dev.to URL exists.
189
-
190
175
  ## See Also
191
176
 
192
177
  - [pdf-lib](https://www.npmjs.com/package/pdf-lib) — A popular JavaScript PDF library for comparison
193
-
194
- ## Backlinks
195
-
196
- - Dev.to launch post (canonical for this version): https://www.npmjs.com/package/@jackgreen2018/pdf-engine