open-index/open-npm huggingface dataset:
npm package: @pdftron/pdfjsexpress
Description: [PDFJS Express](https://pdfjs.express) is a powerful JavaScript-based PDF Library that wraps [PDF.js](https://mozilla.github.io/pdf.js/). It provides a slick out-of-the-box responsive UI that interacts with the core library to view, annotate and manipulat
Author: PDFTron
Latest version: 6.0.2-beta
Deprecated: This package has been deprecated in favour of @pdftron/pdfjs-express

# WebViewer

[PDFJS Express](https://pdfjs.express) is a powerful JavaScript-based PDF Library that wraps [PDF.js](https://mozilla.github.io/pdf.js/). It provides a slick out-of-the-box responsive UI that interacts with the core library to view, annotate and manipulate PDFs that can be embedded into any web project.

![WebViewer UI](https://www.pdftron.com/downloads/pl/webviewer-ui.png)

## Usage

**1) Install PDFJS Express**
```
npm i @pdftron/pdfjsexpress --save
```

This will also download all the assets that need to be included for PDFJS Express to work.

**2) Copy assets and resources to your public/static folder**

These assets need to be served with your application. For example, if your project is built into a `dist` folder, you could copy these assets into `dist/public`.

The folder you need to copy is `node_modules/@pdftron/pdfjsexpress/public`.
```
cp -R ./node_modules/@pdftron/pdfjsexpress/public ./dist
```

We recommend using a module bundler like [Webpack](https://webpack.js.org/) to automatically do this for you. There is a nice plugin called [copy-webpack-plugin](https://github.com/webpack-contrib/copy-webpack-plugin) that does just this.

**3) Import and instantiate WebViewer**

```js
import WebViewer from '@pdftron/pdfjsexpress'

const element = document.getElementById('viewer');

WebViewer({
  path: '/public', // point to where the files you copied are served from
  initialDoc: 'https://pdftron.s3.amazonaws.com/downloads/pl/PDFTRON_about.pdf' // path to your document
}, element).then((instance) => {
  // Call APIs here
})
```

## Documentation
Full documentation for PDFJS Express can be found [here](https://pdfjs.express/documentation/get-started/overview).
npm package: @pdftron/webviewer
Description: [WebViewer](https://www.apryse.com/webviewer) is a powerful JavaScript Document SDK and UI Component Library that is a part of the [Apryse PDF SDK](https://www.apryse.com). It provides a slick, out-of-the-box responsive UI that interacts with the core lib
Author: Apryse
Latest version: 11.12.0
npm package: @pdfts/core
Description: ...
Latest version: 0.0.1-alpha2

![NPM](https://img.shields.io/npm/l/@pdfts/core.svg?registry_uri=https%3A%2F%2Fregistry.npmjs.com)
[![Total alerts](https://img.shields.io/lgtm/alerts/g/pdfts/core.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/pdfts/core/alerts/)
[![Language grade: JavaScript](https://img.shields.io/lgtm/grade/javascript/g/pdfts/core.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/pdfts/core/context:javascript)

# pdf.ts

A complete new approach to the Portable Document Format, written for every JavaScript environment.

## Current Library Status

PROOF OF CONCEPT! PROTOTYPE! DO NOT USE!

## PDF/A Compliance

... this is a prototype. The goal is PDF/A-4!

## Limitations

While PDF is a very very very large topic, features will arrive at a slow pace.

`Developers Note: I am a private person and can only spend a few hours per day on development.`

## Usage

> tsc

What else? ¯\\\_(ツ)\_/¯