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
$300 Free Credits for Your Google Cloud Projects Icon
$300 Free Credits for Your Google Cloud Projects

Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.

Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
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