Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

pdfjs-dist-for-node

mozilla459Apache-2.01.0.892-rc.1

Generic build of Mozilla's PDF.js library.

Mozilla, pdf, pdf.js

readme

PDF.js

PDF.js is a Portable Document Format (PDF) library that is built with HTML5. Our goal is to create a general-purpose, web standards-based platform for parsing and rendering PDFs.

This is a pre-built version of the PDF.js source code. It is automatically generated by the build scripts.

See https://github.com/mozilla/pdf.js for learning and contributing.

Usage: npm

install via npm:

npm install pdfjs-dist-for-node

require it as you normally would

var pdfjs = require('pdfjs-dist-for-node')