
Security News
Risky Biz Podcast: Making Reachability Analysis Work in Real-World Codebases
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
vue_pdfjs_viewer
Advanced tools
npm install vue_pdfjs_viewer
<template>
<div id="app" style="height:593px">
<PDFView
:src.sync="src" // Valid PDF Source (read below for more info)
ref="pdfView"
fileName="order" // Name of the file that's going to be downloaded (default: {Date.now()}.pdf )
:sidebarFeatureVisible="false" // Should the sidebar feature be visible ? (default: true)
:downloadFeatureVisible="false" // Should the download button feature be active ? (default: true)
:dropzoneFeatureVisible="false" // Should the pdf dropzone feature be active ? (default: true)
:toolbarVisible="false" // Should the toolbar be visible ? (default: true)
scale.sync="scale" // String value for the page scale ["0.75", "1", "1.25", "1.5", "auto"] are supported
>
<template slot="right-toolbox"></template> <!-- Add more buttons/features on the right side of the toolbar -->
<template slot="left-toolbox"></template> <!-- Add more buttons/features on the left side of the toolbar -->
<template slot="error"></template> <!-- Change the error message design -->
<template slot="loading"></template> <!-- Change the pdf loader design -->
</PDFView>
</div>
</template>
<script>
import {PDFView} from 'vue_pdfjs_viewer';
export default {
components:{
// ...
PDFView
},
data(){
return {
scale: "1.25"
}
}
}
</script>
PDF Uint8Array Buffer
Base64 encoded PDF buffer
data:application/pdf;base64, ....
You can also drag/drop pdf files into the viewer !
FAQs
Vue viewer component built on top of pdfjs
The npm package vue_pdfjs_viewer receives a total of 15 weekly downloads. As such, vue_pdfjs_viewer popularity was classified as not popular.
We found that vue_pdfjs_viewer demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.