Socket
Socket
Sign inDemoInstall

vue3-pdfjs

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue3-pdfjs

PDF Reader for Vue 3 using Mozilla's PDF.js


Version published
Weekly downloads
1.8K
increased by0.62%
Maintainers
1
Weekly downloads
 
Created
Source

Build Status npm bundle size Snyk Vulnerabilities for npm package npm

vue supported version npm NPM

DEMO

Install

npm i vue3-pdfjs
or
yarn add vue3-pdfjs

Usage

Demo code can be found under the docs section here.

Import globally

import { createApp } from 'vue'
import App from './App.vue'
import VuePdf from 'vue3-pdfjs'

const app = createApp(App)
app.use(VuePdf)
app.mount('#app')

Tree Shaking

Import components from the esm folder to enable tree shaking.
<script>
import { defineComponent } from 'vue'
import { VuePdf } from 'vue3-pdfjs/esm'

export default defineComponent({
  components: { VuePdf }
})
</script>

Keywords

FAQs

Package last updated on 15 Aug 2021

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc