Quick Start: Node.js
Installation
Section titled “Installation”npm install edgeparseRequirements: Node.js 18+ · No additional system dependencies.
Parse a PDF
Section titled “Parse a PDF”import { convert } from "edgeparse";
// Get Markdown stringconst markdown = convert("document.pdf", { format: "markdown" });console.log(markdown);
// Get structured JSON stringconst json = convert("document.pdf", { format: "json" });
// Get HTML stringconst html = convert("document.pdf", { format: "html" });With Options
Section titled “With Options”import { convert } from "edgeparse";
const result = convert("document.pdf", { format: "markdown", pages: "1-5", tableMethod: "cluster",});Output Formats
Section titled “Output Formats”| Format | Description |
|---|---|
"markdown" | Clean Markdown with table support |
"json" | Structured JSON with full metadata |
"html" | Semantic HTML |
"text" | Plain text (reading order) |
Next Steps
Section titled “Next Steps”- JSON Schema Reference
- Benchmark Results
- Try Live Demo — parse PDFs in your browser with WebAssembly
- Enterprise — self-hosted deployment, priority support by Elitizon