Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vue-pdfjs-express-viewer

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-pdfjs-express-viewer

Simple Vue wrapper for [@pdftron/pdfjs-express](https://www.npmjs.com/package/@pdftron/pdfjs-express). Supports Vue 3.

  • 0.0.15
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Vue PDFJS Express Wrapper

Simple Vue wrapper for @pdftron/pdfjs-express. Supports Vue 3.

Usage

  1. Install package

npm i vue-pdfjs-express-viewer

  1. Copy assets in pdfjs-express folder to your public/static folder
  2. Instantiate component
import { PdfApp } from "vue-pdfjs-express-viewer";

<pdf-app
  :src="file"
  :license-key="licenseKey"
  asset-path="/pdfjs-express"
></pdf-app>

Props

  • src: File | Blob - file source
  • licenseKey: string - PDFJS Express license key. Can be generated here
  • assetPath: string - absolute path to PDFJS Express assets from your public/static folder

FAQs

Package last updated on 09 Mar 2022

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