@zilijonas/foliark 0.1.0 → 0.1.2
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 +87 -58
- package/SUPPORT_MATRIX.md +2 -2
- package/package.json +11 -5
- package/wasm/foliark_wasm_bg.wasm +0 -0
package/README.md
CHANGED
|
@@ -1,67 +1,72 @@
|
|
|
1
|
-
|
|
1
|
+
<p align="center">
|
|
2
|
+
<img src="https://raw.githubusercontent.com/zilijonas/foliark/main/logo.png" alt="Foliark" width="320">
|
|
3
|
+
</p>
|
|
2
4
|
|
|
3
|
-
|
|
4
|
-
edit paragraphs, redact and export a sanitized PDF. It runs in a worker on the user's device; the document never leaves it.
|
|
5
|
-
The SDK fetches only its own `.wasm` and worker script.
|
|
6
|
-
|
|
7
|
-
## Install
|
|
5
|
+
<p align="center"><b>A PDF engine in Rust and WebAssembly for the browser. Extract, search, render, edit, redact and sanitize PDFs on the user's device. The document never leaves it.</b></p>
|
|
8
6
|
|
|
9
7
|
```sh
|
|
10
|
-
npm install @zilijonas/foliark@0.1.
|
|
8
|
+
npm install @zilijonas/foliark@0.1.2 --save-exact
|
|
11
9
|
```
|
|
12
10
|
|
|
13
|
-
|
|
11
|
+
ESM only, no runtime dependencies, typed. Runs in a worker, fetches only its own `.wasm` and worker script, and refuses what it cannot do safely with a typed `FoliarkError` instead of degrading quietly.
|
|
14
12
|
|
|
15
|
-
##
|
|
13
|
+
## Why I built it
|
|
16
14
|
|
|
17
|
-
|
|
18
|
-
tag `v0.1.0` of https://github.com/zilijonas/foliark. Build steps: `docs/development.md` in that repository (`scripts/build-wasm.sh`, `pnpm build:sdk`,
|
|
19
|
-
`tests/package-consumers/pack.sh`). Details: `LICENSING.md`.
|
|
15
|
+
I run HDDN ([hddn.app](https://hddn.app)), a PDF redaction tool that works entirely in the browser. It used PyMuPDF compiled into Pyodide. That worked, but the engine was a 30 MB download, it took about 1.6 seconds just to start, and it kept missing things I needed.
|
|
20
16
|
|
|
21
|
-
|
|
22
|
-
`cmaps/` (predefined CMap pack), `LICENSE`, `LICENSING.md`, `COMMERCIAL-LICENSING.md`, `LICENSE_FOXIT`, `NOTICE`, `THIRD_PARTY_NOTICES.md` and `SUPPORT_MATRIX.md`.
|
|
17
|
+
So I wrote a replacement from scratch: a Rust engine compiled to WebAssembly, built on the [hayro](https://github.com/LaurenzV/hayro) PDF crates. It starts in 19 ms, downloads about 2.2 MB gzipped, and the export is rebuilt from an allowlist, so the file is built to carry nothing you removed. HDDN runs on it now.
|
|
23
18
|
|
|
24
|
-
|
|
19
|
+
Foliark is not a fork, port or modified version of PyMuPDF or MuPDF, and contains none of their code. It is not affiliated with or endorsed by Artifex, whose products those are.
|
|
25
20
|
|
|
26
|
-
|
|
21
|
+
## The numbers, and what they are
|
|
27
22
|
|
|
28
|
-
|
|
29
|
-
import { createFoliark } from "@zilijonas/foliark";
|
|
30
|
-
import wasmUrl from "@zilijonas/foliark/wasm?url"; // Vite; other bundlers: any setup that yields the two final URLs
|
|
31
|
-
import workerUrl from "@zilijonas/foliark/worker?worker&url";
|
|
23
|
+
Same input files for both engines. Chromium 151 on an Apple M4 Mac mini, served from localhost, medians. The left column is HDDN's build of PyMuPDF in Pyodide, the right is the Foliark SDK in a worker.
|
|
32
24
|
|
|
33
|
-
|
|
34
|
-
|
|
25
|
+
| | HDDN: PyMuPDF in Pyodide | Foliark |
|
|
26
|
+
|---|---|---|
|
|
27
|
+
| Engine download, cold | 30.4 MB | 5.4 MB (2.2 MB gzip, as shipped) |
|
|
28
|
+
| Start, cold | 1,596 ms | 19 ms |
|
|
29
|
+
| Render one text page | 16.4 ms | 4.3 ms |
|
|
30
|
+
| Open, extract and render 30 pages | 1,001 ms | 223 ms |
|
|
31
|
+
| Apply a paragraph edit | 1,004 ms | 69 ms |
|
|
32
|
+
| Native export, 10 redaction regions | 399 ms | 249 ms |
|
|
33
|
+
| Wasm memory after all of it | 250 MB | 75 MB |
|
|
34
|
+
| Export size, keyword redaction, 30 pages | 28,747 B | 27,500 B |
|
|
35
35
|
|
|
36
|
-
|
|
37
|
-
no second worker, no `worker.js` asset; your worker supervises hangs and must be replaced after `onReset`:
|
|
36
|
+
Read this before quoting any of it. HDDN's render time includes PNG encoding and Foliark hands back raw RGBA, so that row is not the same work. The edit time includes HDDN regenerating previews. And it is not faster everywhere: the first render of a progressive-JPEG colour scan is about 0.9x, slightly slower (82.5 ms against 76 ms). The other scan types I tried were 1.3x to 5.7x faster at scale 1.35. This is synthetic files on one machine, and phones are not measured. Method, caveats and raw data: [docs/performance/comparison.md](https://github.com/zilijonas/foliark/blob/main/docs/performance/comparison.md).
|
|
38
37
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
38
|
+
## What it does
|
|
39
|
+
|
|
40
|
+
- **Read**: text with word boxes and styles, search, hit test and selection, and encrypted input (RC4 and AES, with the password).
|
|
41
|
+
- **Render**: pages to RGBA, with warnings when something could not be drawn exactly.
|
|
42
|
+
- **Edit**: replace a paragraph, laid out in Rust with real font shaping. Horizontal, unrotated, left-to-right text.
|
|
43
|
+
- **Redact for real**: text, images, vectors (cut precisely, not dropped whole) and form fields are removed from the file, not covered with a box.
|
|
44
|
+
- **Sanitize on export**: a fresh file, written from scratch. No metadata, attachments, scripts or orphan objects, with a report of what went. Independent oracles that do not import Foliark check the output.
|
|
45
|
+
- **Image-only export**: redactions burned into pixels. It drops text, search and vectors, so it asks for explicit consent.
|
|
46
|
+
- **Offline and CSP-friendly**: static files only, no network after they are cached, no SharedArrayBuffer, no COOP/COEP.
|
|
47
|
+
- **Legacy CJK encodings**: the predefined CMaps ship in the package.
|
|
43
48
|
|
|
44
|
-
##
|
|
49
|
+
## Quick start
|
|
50
|
+
|
|
51
|
+
`createFoliark` starts a module worker that owns the wasm instance. Both URLs are explicit and nothing is fetched until you call it.
|
|
45
52
|
|
|
46
53
|
```ts
|
|
47
|
-
import { FoliarkError, type Redaction } from "@zilijonas/foliark";
|
|
54
|
+
import { createFoliark, FoliarkError, type Redaction } from "@zilijonas/foliark";
|
|
55
|
+
import wasmUrl from "@zilijonas/foliark/wasm?url"; // Vite; any bundler that yields the two final URLs works
|
|
56
|
+
import workerUrl from "@zilijonas/foliark/worker?worker&url";
|
|
57
|
+
|
|
58
|
+
const foliark = await createFoliark({ wasmUrl, workerUrl, limits: { maxPages: 200 } });
|
|
48
59
|
|
|
49
60
|
const doc = await foliark.open(await file.arrayBuffer()); // password?, allowRepaired? in the options; the buffer is transferred
|
|
50
61
|
const { pageCount } = await doc.info();
|
|
51
62
|
|
|
52
63
|
const page = await doc.extractText(0); // text, words with boxes, styles; coordinates are display space
|
|
53
64
|
const hits = await doc.search("invoice", { caseSensitive: false });
|
|
54
|
-
const
|
|
55
|
-
|
|
56
|
-
// Edit one paragraph: register a font once, then replace the text of the lines under the rectangles.
|
|
57
|
-
await foliark.registerFonts([{ bytes: fontBytes, family: "Liberation Sans", weight: 400, style: "normal" }]);
|
|
58
|
-
const info = await doc.prepareParagraph(0, [page.words[0].box]);
|
|
59
|
-
let r = await doc.applyChanges({ baseRevision: doc.revision, textEdits: [{ id: "e1", pageIndex: 0, rects: [info.bounds], text: "New text" }] });
|
|
60
|
-
if (!r.accepted) console.warn(r.rejected); // typed codes per edit, nothing changed
|
|
65
|
+
const pixels = await doc.renderPage(0, { scale: 1.5 }); // RGBA pixels (ImageData-compatible), plus warnings and `complete`
|
|
61
66
|
|
|
62
|
-
// Redact
|
|
67
|
+
// Redact every hit, then export a sanitized native PDF.
|
|
63
68
|
const redactions: Redaction[] = hits.map((h, i) => ({ kind: "text", id: `r${i}`, pageIndex: h.pageIndex, start: h.start, end: h.end }));
|
|
64
|
-
|
|
69
|
+
await doc.applyChanges({ baseRevision: doc.revision, redactions });
|
|
65
70
|
try {
|
|
66
71
|
const plan = await doc.prepareExport({ mode: "native" }); // does the whole export; plan.report lists what was removed or flattened
|
|
67
72
|
const pdf = await doc.export(plan); // Uint8Array, single use
|
|
@@ -69,34 +74,58 @@ try {
|
|
|
69
74
|
if (e instanceof FoliarkError) console.error(e.code, e.details); // e.g. FORM_APPEARANCE_MISSING, REDACT_PATTERN_UNSUPPORTED
|
|
70
75
|
}
|
|
71
76
|
|
|
72
|
-
|
|
77
|
+
await doc.close();
|
|
78
|
+
await foliark.dispose();
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
Edit a paragraph: register a font once, then replace the text of the lines under a rectangle.
|
|
82
|
+
|
|
83
|
+
```ts
|
|
84
|
+
await foliark.registerFonts([{ bytes: fontBytes, family: "Liberation Sans", weight: 400, style: "normal" }]);
|
|
85
|
+
const info = await doc.prepareParagraph(0, [page.words[0].box]);
|
|
86
|
+
const r = await doc.applyChanges({ baseRevision: doc.revision, textEdits: [{ id: "e1", pageIndex: 0, rects: [info.bounds], text: "New text" }] });
|
|
87
|
+
if (!r.accepted) console.warn(r.rejected); // typed code per edit, nothing changed
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
Image-only export burns the redactions into pixels:
|
|
91
|
+
|
|
92
|
+
```ts
|
|
73
93
|
const flat = await doc.export(await doc.prepareExport({ mode: "raster", policy: { raster: { acknowledgeLosses: true, scale: 2 } } }));
|
|
94
|
+
```
|
|
74
95
|
|
|
75
|
-
|
|
76
|
-
|
|
96
|
+
Already running your own dedicated worker with its own recovery? Use the in-worker entry. Same API and errors, no second worker, and your worker supervises hangs and must be replaced after `onReset`:
|
|
97
|
+
|
|
98
|
+
```ts
|
|
99
|
+
import { createInlineFoliark } from "@zilijonas/foliark/inline";
|
|
100
|
+
const foliark = await createInlineFoliark({ wasmUrl }); // or { wasm: bytesOrModule } to fetch nothing
|
|
77
101
|
```
|
|
78
102
|
|
|
79
|
-
Every call that can take time accepts `signal?: AbortSignal` (abort rejects `CANCELLED`, state unchanged). Every failure is a `FoliarkError`
|
|
80
|
-
with a `code` from the frozen list in `docs/spec/v1.md` section 12; unsupported input is refused with a code, never silently degraded.
|
|
81
|
-
`ChangeSet`, `TextEdit`, `Redaction`, `ExportReport`, `Loss` and the other DTOs are exported as types.
|
|
103
|
+
Every call that can take time accepts `signal?: AbortSignal` (abort rejects `CANCELLED`, state unchanged). Every failure is a `FoliarkError` with a `code` from the frozen list in the [spec](https://github.com/zilijonas/foliark/blob/main/docs/spec/v1.md) section 12. `ChangeSet`, `TextEdit`, `Redaction`, `ExportReport` and the other DTOs are exported as types.
|
|
82
104
|
|
|
83
105
|
## Hosting, CSP, offline
|
|
84
106
|
|
|
85
|
-
|
|
86
|
-
`Content-Security-Policy: script-src 'self' 'wasm-unsafe-eval'; worker-src 'self'`. Prepared offline means your service worker caches the
|
|
87
|
-
wasm, worker and your own files; the SDK caches nothing and no document is ever stored. Bundler recipes (Vite, esbuild, no bundler), CSP and
|
|
88
|
-
the offline pattern are in the repository's `docs/deployment.md`.
|
|
107
|
+
Serve `wasm/foliark_wasm_bg.wasm` as `application/wasm`, version the file names, and use `Content-Security-Policy: script-src 'self' 'wasm-unsafe-eval'; worker-src 'self'`. For offline use your service worker caches the wasm, the worker script, the `cmaps/` files and your own assets. The SDK caches nothing and stores no document. Vite, esbuild and no-bundler recipes: [docs/deployment.md](https://github.com/zilijonas/foliark/blob/main/docs/deployment.md).
|
|
89
108
|
|
|
90
|
-
##
|
|
109
|
+
## Browser support, honestly
|
|
91
110
|
|
|
92
|
-
|
|
93
|
-
typed code, or not established, with the evidence behind it. Real iPhone, iPad and Android devices are not established yet.
|
|
111
|
+
Chromium on desktop (macOS arm64) is supported and has budgets. WebKit is supported as an engine, not as Safari. Firefox is functional, with no performance numbers. **Real iPhone, iPad, Android, Safari, Windows and Linux are not tested yet**, and no minimum browser version is promised. Every row and its evidence: [support matrix](https://github.com/zilijonas/foliark/blob/main/docs/support-matrix.md), also in the package as `SUPPORT_MATRIX.md`.
|
|
94
112
|
|
|
95
113
|
## Limits worth knowing
|
|
96
114
|
|
|
97
|
-
- Defaults: 64 MiB input, 1000 pages, 50 Mpx per render, 256 MiB output, 4 open documents (`limits` option
|
|
98
|
-
- Repaired or truncated files are refused (`REPAIRED_PDF`) unless you pass `allowRepaired
|
|
99
|
-
|
|
100
|
-
- Paragraph editing is horizontal, unrotated, left-to-right text only, and needs a registered font when the document's own
|
|
101
|
-
-
|
|
102
|
-
|
|
115
|
+
- Defaults: 64 MiB input, 1000 pages, 50 Mpx per render, 256 MiB output, 4 open documents (`limits` option). Exceeding one is `LIMIT_EXCEEDED`, with no output.
|
|
116
|
+
- Repaired or truncated files are refused (`REPAIRED_PDF`) unless you pass `allowRepaired`.
|
|
117
|
+
- Native export rewrites the file from scratch and drops metadata, attachments, scripts and outlines, reporting each in `plan.report`.
|
|
118
|
+
- Paragraph editing is horizontal, unrotated, left-to-right text only, and needs a registered font when the document's own cannot be reused.
|
|
119
|
+
- Redaction is checked inside the engine and by independent oracles on 80 test documents. That is evidence, not a certificate for arbitrary real-world files.
|
|
120
|
+
|
|
121
|
+
## Links
|
|
122
|
+
|
|
123
|
+
[Source and issues](https://github.com/zilijonas/foliark) · [Spec](https://github.com/zilijonas/foliark/blob/main/docs/spec/v1.md) · [Deployment](https://github.com/zilijonas/foliark/blob/main/docs/deployment.md) · [Benchmarks](https://github.com/zilijonas/foliark/blob/main/docs/performance/comparison.md) · [Security reports](https://github.com/zilijonas/foliark/blob/main/SECURITY.md) · [Changelog](https://github.com/zilijonas/foliark/blob/main/CHANGELOG.md) · [Provenance](https://github.com/zilijonas/foliark/blob/main/docs/provenance/assets.md)
|
|
124
|
+
|
|
125
|
+
## License
|
|
126
|
+
|
|
127
|
+
[AGPL-3.0-only](https://github.com/zilijonas/foliark/blob/main/LICENSE), the same licence family as the AGPL option PyMuPDF is offered under. If the AGPL does not fit your use, separate commercial licensing is available: see `COMMERCIAL-LICENSING.md` in the package. This is not legal advice. Details are in `LICENSING.md`.
|
|
128
|
+
|
|
129
|
+
Foliark is free software, so the complete corresponding source of version 0.1.2 (Rust engine, vendored hayro fork and patches, build scripts) is tag `v0.1.2` of https://github.com/zilijonas/foliark. Build steps are in `docs/development.md` there (`scripts/build-wasm.sh`, `pnpm build:sdk`, `tests/package-consumers/pack.sh`). The package contains `dist/`, `wasm/` (5.8 MB raw, 2.2 MB gzip), `cmaps/`, `LICENSE`, `LICENSING.md`, `COMMERCIAL-LICENSING.md`, `LICENSE_FOXIT`, `NOTICE`, `THIRD_PARTY_NOTICES.md` and `SUPPORT_MATRIX.md`.
|
|
130
|
+
|
|
131
|
+
PyMuPDF and MuPDF are products of Artifex Software, Inc. Foliark is independent of them and not affiliated with Artifex.
|
package/SUPPORT_MATRIX.md
CHANGED
|
@@ -31,11 +31,11 @@ Host requirements, each tested in the browser specs: static files only, `applica
|
|
|
31
31
|
|---|---|---|---|---|
|
|
32
32
|
| Open | supported | 35 manifest fixtures: 25 open and round-trip, 8 refused, `docs/evidence/native-roundtrip.md` | `MALFORMED_PDF`, `REPAIRED_PDF` (unless `allowRepaired`), `DECODE_FAILED`, `LIMIT_EXCEEDED`, `PASSWORD_REQUIRED`, `PASSWORD_INCORRECT`, `ENCRYPTION_UNSUPPORTED` | files unlike the synthetic corpus |
|
|
33
33
|
| Encrypted input | supported: RC4-40/128, AES-128/256 with the password; output is never encrypted | `native-roundtrip.md`, `strict-native.md` (4 encrypted fixtures) | `PASSWORD_*`, `ENCRYPTION_UNSUPPORTED` for unknown handlers | encrypted raster fidelity (5 fixtures judged by `objects.py` only) |
|
|
34
|
-
| Extract text | supported | HDDN parity: 21 fixtures against PyMuPDF 1.26.5, equal text, offsets, keys, worst box deviation 0.211 pt (spec allows 0.75), `docs/integration/hddn-adapter.md` | none beyond open | CID fonts without ToUnicode, vertical and RTL text |
|
|
34
|
+
| Extract text | supported | HDDN parity: 21 fixtures against PyMuPDF 1.26.5, equal text, offsets, keys, worst box deviation 0.211 pt (spec allows 0.75), `docs/integration/hddn-adapter.md` | none beyond open | CID fonts without ToUnicode and without a Unicode cmap in the embedded program (an empty or partial ToUnicode falls back to that cmap, `generated/quartz-type0-empty-tounicode.pdf`), vertical and RTL text |
|
|
35
35
|
| Search, hit test, select | supported on the multi-column Unicode fixture (diacritic folding, column drag stays on its line) | `hddn-adapter.md` (NEW-67) | `INVALID_ARGUMENT` | regex and hyphenation-aware search are absent by design (spec 16); not wired into HDDN's UI |
|
|
36
36
|
| Render | supported with warnings | `native-roundtrip.md` (0 channel values off by more than 2/255 between input and output renders); reduced vs exact decode max diff 1 (`docs/performance/comparison.md`) | warnings `FONT_SUBSTITUTED`, `IMAGE_DECODE_FAILED`, `ANNOTATION_APPEARANCE_MISSING`, `CMAP_MISSING` (page is `complete:false`); `LIMIT_EXCEEDED` over `maxRenderPixels` | pixel accuracy against a second renderer on real documents (PyMuPDF differs by mean 0.02 to 3.1 levels on the scan fixtures) |
|
|
37
37
|
| Predefined CMaps (legacy CJK encodings) | supported (pack in the package) | `cmaps/` 63 Adobe files; fixture `generated/cjk-predefined-cmaps.pdf`: extract equals PyMuPDF, render has no `CMAP_MISSING`, redaction + native export judged by `objects.py`/PyMuPDF (`crates/foliark-engine/tests/cmaps.rs`), packed-package browser specs in 3 engines (`tests/browser/cmaps.spec.ts`) | `ASSET_LOAD_FAILED` at `open` for a missing or corrupt pack file; `CMAP_MISSING` for a name outside the predefined set; the pack must be served or copied by the caller (`docs/deployment.md`) | text redaction/edit on mixed-length encodings (RKSJ, EUC, UTF16): `FONT_UNSUPPORTED`; CJK glyphs of a non-embedded font are drawn missing |
|
|
38
|
-
| Paragraph edit | supported for horizontal, unrotated, left-to-right text in a registered or reusable font | `docs/adr/0003`, `0004`, `0005`; acceptance scenario E over 80 cases; HDDN adapter NEW-68 | `EDIT_NO_FONT`, `EDIT_NO_FIT`, `EDIT_NO_STYLE`, `EDIT_UNSUPPORTED_SCRIPT` (non-BMP, RTL), `EDIT_ROTATED_TEXT`, `FONT_UNSUPPORTED`, `STALE_REVISION` | CFF/Type1 embedded faces, RTL, CJK, vertical, auto-fit (spec 16) |
|
|
38
|
+
| Paragraph edit | supported for horizontal, unrotated, left-to-right text in a registered or reusable font | `docs/adr/0003`, `0004`, `0005`, `0011`; acceptance scenario E over 80 cases; HDDN adapter NEW-68 | `EDIT_NO_FONT`, `EDIT_NO_FIT`, `EDIT_NO_STYLE`, `EDIT_UNSUPPORTED_SCRIPT` (non-BMP, RTL), `EDIT_ROTATED_TEXT`, `FONT_UNSUPPORTED`, `STALE_REVISION` | CFF/Type1 embedded faces, RTL, CJK, vertical, auto-fit (spec 16) |
|
|
39
39
|
| Native export (sanitized rewrite) | supported | `strict-native.md`: 39 fixtures, 31 supported + 8 refused, 0 skipped, independent oracles, negative controls caught; acceptance 80 cases x 6 scenarios | `FORM_APPEARANCE_MISSING`, `XFA_UNSUPPORTED`, `OPTIONAL_CONTENT_UNSUPPORTED`, `SIGNED_INPUT` (policy `refuse`), `REDACT_*`, `STALE_PLAN`, `PLAN_CONSUMED` | what sections 3 and 4 list |
|
|
40
40
|
| Raster export (image-only, redactions burned in) | supported; needs `policy.raster.acknowledgeLosses` | acceptance: 143 SAFE + 17 refused raster results; `comparison.md` (30 pages, 10 regions, 0 words in the regions) | `CONSENT_REQUIRED`, `RENDER_INCOMPLETE {pages}` (3 acceptance cases, annotation-comment pinned by NEW-56) | encrypted raster fidelity; edge pixels touching a region are checked with a 0.26 pt inset |
|
|
41
41
|
| Cancellation | supported before an operation starts; results of aborted operations are atomic | acceptance: 27 attempts, finals byte-equal to a clean run | `CANCELLED` | abort while an operation runs through the packed SDK (only 3 pre-aborted attempts ended `CANCELLED`) |
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zilijonas/foliark",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.1.2",
|
|
4
|
+
"description": "Rust/WebAssembly PDF SDK for the browser: extract text, render, edit, redact and sanitize PDFs offline. A PyMuPDF alternative. AGPL-3.0.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "AGPL-3.0-only",
|
|
7
7
|
"author": "Linas Jonas Zilinskas",
|
|
@@ -12,13 +12,19 @@
|
|
|
12
12
|
"keywords": [
|
|
13
13
|
"pdf",
|
|
14
14
|
"pdf-redaction",
|
|
15
|
+
"redact",
|
|
15
16
|
"pdf-editor",
|
|
16
|
-
"
|
|
17
|
-
"
|
|
17
|
+
"pdf-text-extraction",
|
|
18
|
+
"pdf-render",
|
|
19
|
+
"pdf-sanitize",
|
|
18
20
|
"webassembly",
|
|
21
|
+
"wasm",
|
|
19
22
|
"rust",
|
|
23
|
+
"pymupdf-alternative",
|
|
24
|
+
"privacy",
|
|
20
25
|
"offline",
|
|
21
|
-
"
|
|
26
|
+
"browser",
|
|
27
|
+
"typescript"
|
|
22
28
|
],
|
|
23
29
|
"publishConfig": {
|
|
24
30
|
"access": "public"
|
|
Binary file
|