| title |
Quick Start: Node.js |
| description |
Use EdgeParse with Node.js via native NAPI-RS bindings. |
Requirements: Node.js 18+ · No additional system dependencies.
import { convert } from "edgeparse";
// Get Markdown string
const markdown = convert("document.pdf", { format: "markdown" });
console.log(markdown);
// Get structured JSON string
const json = convert("document.pdf", { format: "json" });
// Get HTML string
const html = convert("document.pdf", { format: "html" });
import { convert } from "edgeparse";
const result = convert("document.pdf", {
format: "markdown",
pages: "1-5",
tableMethod: "cluster",
});
| Format |
Description |
"markdown" |
Clean Markdown with table support |
"json" |
Structured JSON with full metadata |
"html" |
Semantic HTML |
"text" |
Plain text (reading order) |