const HummusRecipe = require('hummus-recipe');
const pdfDoc = new HummusRecipe(inputFilePath, outputFilePath);
Above code will raise error TypeError: Unable to start parsing PDF file in hummus-recipe library if the input PDF is in invalid standard PDF Format.
Finally, I've created a solution to deal with this error in hummus-recipe It's caused due to invalid PDF Format that's not acceptable by hummus-recipe.
Note: You can check if your PDF is valid or not at https://www.pdfen.com/pdf-a-validator OR You can convert your PDF to a valid version at https://docupub.com/pdfconvert/