@chialab/pdfjs-lib
v1.0.0-alpha.7
Published
A custom Mozilla's PDF.js build with better Node support and extras.
Downloads
501
Readme
Library mode for PDF.js
[!IMPORTANT]
This is not a fork of the original PDF.js repository.
PDF.js is a great library developed by Mozilla for rendering PDF files in the browser. Its main focus is the built-in PDF viewer in Firefox. This project aims to redistribute the library's foundation and core functionality in a more modular way, to leverage PDF files in a more comprehensive way, not just for viewing purposes.
Features
- Browser and Node (and Bun) optimized builds using ES modules
- Bundler-friendly
- Polyfills included
- Extended annotation models support
- SVG renderer for PDF pages
- Improved TextLayer extraction with structure information
Install
npm i @chialab/pdfjs-lib
yarn add @chialab/pdfjs-lib
pnpm add @chialab/pdfjs-lib