Pdf-extractor is a wrapper around pdf.js to generate images, svgs, html files, text files and json files from a pdf on node.js. A DOM Canvas is used to render and export the graphical layer of the pdf. Canvas exports *.png as a default but can be extended to export to other file types like .jpg. Pdf objects are converted to svg using the SVGGraphics parser of pdf.js. Pdf text is converted to HTML. This can be used as a (transparent) layer over the image to enable text selection. Pdf text is extracted to a text file for different usages (e.g. indexing the text). This library is in it's most basic form a node.js wrapper for pdf.js. It has default renderers to generate a default output, but is easily extended to incorporate custom logic or to generate different output. It uses a node.js DOM and the node domstub from pdf.js do make pdf parsing available on node.js without a browser.

Features

  • Box View / Crocodoc
  • PDF.js on Node.js
  • Examples
  • Pdf text is extracted to a text file for different usages (e.g. indexing the text)
  • Pdf objects are converted to svg using the SVGGraphics parser of pdf.js.
  • This library is in it's most basic form a node.js wrapper for pdf.js

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow pdf-extractor

pdf-extractor Web Site

Other Useful Business Software
Veeam Data Platform v13.1 - Get Your Free Trial Icon
Veeam Data Platform v13.1 - Get Your Free Trial

Secure by design, portable by default. Recover clean, fast, anywhere. Start a free trial.

Try Veeam Data Platform today. Experience the unified platform that's secure by design, portable by default, and proven to recover clean, fast, and anywhere.
Try it Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of pdf-extractor!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript AI Image Generators, JavaScript Generative AI

Registered

2023-03-22