{"library":"vue-pdf-embed","type":"library","category":null,"description":"vue-pdf-embed is a Vue 3 component designed for rendering PDF documents within web applications. It leverages PDF.js internally to provide features like controlled rendering, handling password-protected documents, and including interactive text and annotation layers. The current stable version is 2.1.4, released frequently with minor updates and patches, often updating its internal PDF.js dependency. Key differentiators include its simplicity, direct browser usability via unpkg, and lack of additional peer dependencies beyond Vue itself, making it easy to integrate into Vue 3 projects. It explicitly supports only Vue 3; for Vue 2, users must install `vue-pdf-embed@1`. It offers fine-grained control over PDF display, including page rotation, scaling, and selective page rendering.","language":"javascript","status":"active","version":"2.1.4","tags":["javascript","vue","vuejs","pdf","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install vue-pdf-embed","imports":["import VuePdfEmbed from 'vue-pdf-embed'","import 'vue-pdf-embed/dist/styles/annotationLayer.css';\nimport 'vue-pdf-embed/dist/styles/textLayer.css';","import { usePdfEmbed } from 'vue-pdf-embed';"]},{"cmd":"yarn add vue-pdf-embed","imports":[]},{"cmd":"pnpm add vue-pdf-embed","imports":[]}],"homepage":"https://vue-pdf-embed.netlify.app","github":"https://github.com/hrynko/vue-pdf-embed","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/vue-pdf-embed","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/vue-pdf-embed/compatibility"}}