node-red-contrib-pdf-hummus 0.0.2

Extract Text from a pdf using hummusjs

npm install node-red-contrib-pdf-hummus

Node-RED Node to be used to extract text from a pdf file making use of hummusjs.


Run the following command in the root directory of your Node-RED install:

    npm install node-red-contrib-pdf-hummus


This node splits text out of a PDF document making use of the npm module hummusjs and the text extraction sample.

This early release is a get it working node-red wrappering of the text extraction sample code, which does more than is actually is needed by this node. Hence it has a larger than necessary memory requirement.


The node needs a filename and a PDF input buffer as input. The filename being written to can be overridden by setting msg.filename.

The document to be added should be passed in as a data buffer in msg.payload.


The output is a json object on msg.payload. If the split option is selected then an event is sent for each page.

Sample flow



For simple typos and fixes please just raise an issue pointing out our mistakes. If you need to raise a pull request please read our contribution guidelines before doing so.

Copyright 2017 IBM Corp. under the Apache 2.0 license.

Node Info

Version: 0.0.2
Updated 8 months, 3 weeks ago
License: Apache-2.0


1 in the last day
6 in the last week
38 in the last month


  • pdf-hummus


  • node-red
  • pdf
  • hummusjs


  • chughts


  • Soheel Chughtai