A Rivet plugin that makes it easy to extract text and metadata from PDF files.
npm install rivet-plugin-pdf-extractorts
import * as Rivet from "@ironclad/rivet-core";
import pdfExtractorPlugin from "rivet-plugin-pdf-extractor";
// Register the plugin
Rivet.globalRivetNodeRegistry.registerPlugin(pdfExtractorPlugin(Rivet));
`
Usage
After installation, you'll find the PDF Extractor node in the "Documents" group.
1. Add the PDF Extractor node to your graph
2. Configure the PDF source (file path, URL, or base64 data)
3. Choose extraction options (text, metadata, specific pages)
4. Connect the outputs to other nodes in your graph
Development
1. Clone the repository
2. Install dependencies with npm install
3. Build the plugin with npm run build
4. Start the development mode with npm run dev`