pdf_oxide 0.3.28

The fastest Rust PDF library with text extraction: 0.8ms mean, 100% pass rate on 3,830 PDFs. 5× faster than pdf_extract, 17× faster than oxidize_pdf. Extract, create, and edit PDFs.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# PDF Oxide — JavaScript/Node.js Examples

```bash
npm install pdf-oxide
node examples/javascript/01-extract-text/index.js document.pdf
```

| Example | Description |
|---------|-------------|
| [01-extract-text]01-extract-text/index.js | Open PDF, print page count, extract text per page |
| [02-convert-formats]02-convert-formats/index.js | Convert pages to Markdown, HTML, plain text |
| [03-create-pdf]03-create-pdf/index.js | Create PDFs from Markdown, HTML, and text |
| [04-search-text]04-search-text/index.js | Full-text search across all pages |
| [05-extract-structured]05-extract-structured/index.js | Words with bounding boxes, text lines, tables |
| [06-edit-document]06-edit-document/index.js | Modify metadata, delete pages, merge PDFs |
| [07-forms-annotations]07-forms-annotations/index.js | Extract form fields and annotations |
| [08-batch-processing]08-batch-processing/index.js | Concurrent PDF processing with Promise.all |