clapper / src /lib /utils /parsePdfToIndentedText.ts
jbilcke-hf's picture
jbilcke-hf HF staff
add linter and prettifier
c1f12bf
raw
history blame
No virus
317 Bytes
// TODO Julian:
// use pdfjs to parse a PDF, while preserving the indentation
//
// this is important, because most tools trim spaces which is..
// not what I want
//
// some references and examples:
//
// https://mozilla.github.io/pdf.js/examples/
// https://github.com/Utkarsh212/react-pdftotext/blob/main/index.ts