pdfjs-viewer-element 2.2.1 → 2.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +11 -3
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -1,11 +1,19 @@
1
1
  # pdfjs-viewer-element
2
2
 
3
+ A web component for viewing pdf files in the browser. The package is based on [PDF.js default viewer](https://mozilla.github.io/pdf.js/web/viewer.html) build and works with any framework.
4
+
5
+ ⚠️ `pdfjs-viewer-element` uses PDF.js [prebuilt](http://mozilla.github.io/pdf.js/getting_started/), that includes the generic build of PDF.js and the viewer. To use the package you should download and **place the prebuilt** files to some directory of your project. Then specify the path to this directory with `viewer-path` property (`/pdfjs` by default).
6
+
7
+ ## Status
8
+
3
9
  [![npm version](https://img.shields.io/npm/v/pdfjs-viewer-element?logo=npm&logoColor=fff)](https://www.npmjs.com/package/pdfjs-viewer-element)
4
10
  [![Package Quality](https://packagequality.com/shield/pdfjs-viewer-element.svg)](https://packagequality.com/#?package=pdfjs-viewer-element)
5
11
 
6
- A web component for viewing pdf files in the browser. The package is based on [PDF.js default viewer](https://mozilla.github.io/pdf.js/web/viewer.html) build and works with any framework. See [demo](https://alekswebnet.github.io/pdfjs-viewer-element/).
12
+ ## Docs
7
13
 
8
- ⚠️ `pdfjs-viewer-element` uses PDF.js [prebuilt](http://mozilla.github.io/pdf.js/getting_started/), that includes the generic build of PDF.js and the viewer. To use the package you should download and **place the prebuilt** files to some directory of your project. Then specify the path to this directory with `viewer-path` property (`/pdfjs` by default).
14
+ [Getting started](https://alekswebnet.github.io/pdfjs-viewer-element/)
15
+
16
+ [Api](https://alekswebnet.github.io/pdfjs-viewer-element/)
9
17
 
10
18
  ## Install
11
19
 
@@ -52,7 +60,7 @@ Using browser:
52
60
 
53
61
  `pagemode` - Page mode
54
62
 
55
- For more clarity, see the [demo playground](https://alekswebnet.github.io/pdfjs-viewer-element/api).
63
+ For more clarity, see the [Api docs page](https://alekswebnet.github.io/pdfjs-viewer-element/#api).
56
64
 
57
65
  ## License
58
66
  For this package - [MIT](http://opensource.org/licenses/MIT).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pdfjs-viewer-element",
3
- "version": "2.2.1",
3
+ "version": "2.2.3",
4
4
  "license": "MIT",
5
5
  "author": {
6
6
  "name": "Oleksandr Shevchuk",
@@ -21,7 +21,7 @@
21
21
  "type": "git",
22
22
  "url": "git+https://github.com/alekswebnet/pdfjs-viewer-element.git"
23
23
  },
24
- "homepage": "https://github.com/alekswebnet/pdfjs-viewer-element#readme",
24
+ "homepage": "(https://alekswebnet.github.io/pdfjs-viewer-element/",
25
25
  "bugs": {
26
26
  "url": "https://github.com/alekswebnet/pdfjs-viewer-element/issues"
27
27
  },