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
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
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