Socket
Socket
Sign inDemoInstall

react-view-pdf-mod

Package Overview
Dependencies
169
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    react-view-pdf-mod

A simple and powerful PDF Viewer library for React.js


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

React PDF Reader

The purpose of this library is to provide a React component that works as a PDF Reader. It's basically a React wrapper from the pdf.js library from Mozilla.

Using the Library

The library can be installed via the following commands:

npm i --save-dev react-view-pdf-mod

Because this library uses components from precise-ui, it is necessary to add it as a dependency to your project:

npm i precise-ui

Then, simply import the component like below:

import { PDFViewer } from 'react-view-pdf-mod';

<PDFViewer url="http://www.africau.edu/images/default/sample.pdf" />

Contributing

Feel free to contribute to it or open issues in case of bugs.

Roadmap

  1. Remove dependency on precise-ui.
  2. Allow selection of texts.
  3. Add built-in download button.

Updates

Resolve low resolution of PDFs on high DPI mobile devices issue

Keywords

FAQs

Last updated on 09 Jan 2022

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc