Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
vue-pdf-cdn
Advanced tools
Note: master branch (v 2.*) is for Vue3 only. For usage with Vue2, install v1.* - npm install vue-pdf-cdn^1.0.0
PDF.js is very advanced JS library for parsing and displaying PDF files by Mozilla. This project aims to provide simple and lightweight Vue.js component, that downloads library files lazily from cdn with minimal setup.
Similar projects:
yarn add vue-pdf-cdn
# or
npm install vue-pdf-cdn
<template>
<pdf
src="./static/relativity.pdf"
/>
</template>
<script>
import pdf from 'vue-pdf-cdn'
export default {
components: {
pdf
},
}
</script>
src
- URL of PDF file to load and display@status
- triggered when status update happens (library initialized, pdf downloaded, etc.). Provides string describing status.@error
- triggered when error happens. Provides error message.@loading
- triggered when loading status changes. Provides boolean (true/false).vue-pdf-cli. Released under the MIT License.
Authored and maintained by leo-buneev and contributors. Huge thanks to FranckFreiburger for initial webpack version.
FAQs
Lightweight PDF viewer for Vue.js using CDN
The npm package vue-pdf-cdn receives a total of 99 weekly downloads. As such, vue-pdf-cdn popularity was classified as not popular.
We found that vue-pdf-cdn 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.