1.0.0 • Published 3 years ago

@openbook/cloudpdf-viewer v1.0.0

Weekly downloads
200
License
-
Repository
-
Last release
3 years ago

CloudPDF - React PDF Viewer

The official CloudPDF SDK for React.

CloudPDF is a cloud service that offers a pre-rendered PDF viewer.

Why do I need that?

The most active open-source PDF viewer is PDF.JS. They offer a well developed PDF viewer which is rendered on the client side. However, we encountered several problems in implementing PDF.JS in our websites:

  • Large PDF documents can take a long time to load (sometimes up to 30 seconds).
  • The PDF is downloaded to the client, limiting the potential for security features.
  • Although the PDF is rendered on the client, you still need to store it somewhere.
  • A lot of development time is required to build the UI around the PDF viewer.

When you upload a PDF document to CloudPDF, this document is rendered and processed on the server. This significantly increases the speed for large documents. We build a beautiful UI around the viewer and take care of all PDF storage management so there is no need to set up a PDF file storage. Finally, we are working on implementing security features that will enable you to limit PDF access, for example by showing a limited number of pages when a user on your website is not logged in.

Installation

Installation using Yarn

yarn add @openbook/cloudpdf-viewer

Installation using NPM

npm install @openbook/cloudpdf-viewer --save

Usage

Import component

import CloudPdfViewer from '@openbook/cloudpdf-viewer';

Usage component

<CloudPdfViewer documentId="346467a6-fa61-43ad-b45a-d1fdc3da0007" width="100%" height="500px" />

License

Released under the MIT license.

1.0.0

3 years ago

0.1.0-beta.13

3 years ago

0.1.0-beta.12

3 years ago

0.1.0-beta.11

3 years ago

0.1.0-beta.10

3 years ago

0.1.0-beta.9

3 years ago

0.1.0-beta.8

3 years ago

0.1.0-beta.7

3 years ago

0.1.0-beta.6

3 years ago

0.1.0-beta.5

3 years ago

0.1.0-beta.4

3 years ago

0.1.0-beta.3

3 years ago

0.1.0-beta.2

3 years ago

0.1.0-beta.1

3 years ago

0.1.0-beta.0

3 years ago

0.0.12

4 years ago

0.0.13

4 years ago

0.0.11

4 years ago

0.0.10

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago