{"library":"pdfjs-dist-es5","type":"library","category":null,"description":"pdfjs-dist-es5 is a pre-built, ES5-compatible distribution of Mozilla's PDF.js library, designed for environments that lack support for modern JavaScript features like `async`/`await`, optional chaining, or private class fields. It aims to provide a general-purpose, web standards-based platform for parsing and rendering PDF documents directly in the browser using HTML5. The current stable version is 2.13.216, though the main `pdfjs-dist` package has much more recent releases. This package serves as a specific compatibility layer rather than the bleeding edge, focusing on broader browser support. It differentiates itself by offering a transpiled version of the core PDF.js engine, making it suitable for legacy applications or older browser targets that cannot handle the ES2015+ syntax of the primary `pdfjs-dist` package. Its release cadence is tied to specific compatibility needs, making it less frequent than the main library.","language":"javascript","status":"maintenance","version":"2.13.216","tags":["javascript","Mozilla","pdf","pdf.js","typescript"],"install":[{"cmd":"npm install pdfjs-dist-es5","imports":["import * as pdfjsLib from 'pdfjs-dist-es5/build/pdf';","import { GlobalWorkerOptions } from 'pdfjs-dist-es5/build/pdf';\nGlobalWorkerOptions.workerSrc = `//cdn.jsdelivr.net/npm/pdfjs-dist-es5@${pdfjsLib.version}/build/pdf.worker.min.js`;","import { getDocument } from 'pdfjs-dist-es5/build/pdf';"]},{"cmd":"yarn add pdfjs-dist-es5","imports":[]},{"cmd":"pnpm add pdfjs-dist-es5","imports":[]}],"homepage":"http://mozilla.github.io/pdf.js/","github":"https://github.com/mozilla/pdfjs-dist","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/pdfjs-dist-es5","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/pdfjs-dist-es5/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}