First of all: Thank you! This library is exactly what I've searched for.
By using it I found that the produced result always contains metadata at the top of the markdown. For my use case it is more like "clutter"/"noise" so to speak. Is there any option to disable that?
const markdown = await H2MParser.processHtml(mammothResult.value, "", {});
console.log(markdown.markdown);
---
length: 15501
wordCount: 1868
retrievedAt: 2025-12-30T16:44:27.859Z
bytes: 15702
---
It is more like an enhancement request as I can strip that away with a post processing step.
Regardless, thanks for your package!
First of all: Thank you! This library is exactly what I've searched for.
By using it I found that the produced result always contains metadata at the top of the markdown. For my use case it is more like "clutter"/"noise" so to speak. Is there any option to disable that?
It is more like an enhancement request as I can strip that away with a post processing step.
Regardless, thanks for your package!