================
Node-RED node for pdf-parse, enhanced to support file path from message, base64 encoded PDF, and direct buffer input.
- Parse PDF content from a specified file path, base64 encoded string, or direct buffer.
- Easily integrate PDF parsing capabilities within your Node-RED flows.
To install this forked version, you will need to use the GitHub URL since it's not published on npm. Run the following command in your Node-RED user directory, typically ~/.node-red
:
npm install 4eyes/node-red-contrib-pdfparse
This node can be configured to parse PDF data from:
- A filepath specified in the incoming message (
msg.filename
). - Base64 encoded PDF data in the incoming message's payload.
- A Buffer containing PDF data directly in
msg.payload
.
This node is a wrapper around the Node.js module pdf-parse, which provides detailed PDF parsing capabilities.
For sample flows and usage, refer to the sample.json in the examples directory.
Feel free to contribute to this fork by submitting pull requests or opening issues for any bugs or enhancements.