You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

react-pdf-annotator

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.5 to 0.0.6

15

package.json
{
"name": "react-pdf-annotator",
"version": "0.0.5",
"version": "0.0.6",
"description": "Set of React components for PDF annotation",

@@ -21,3 +21,3 @@ "main": "lib/index.js",

"dependencies": {
"pdfjs-dist": "^2.0.159",
"pdfjs-dist": "2.0.159",
"react-rnd": "^7.1.5"

@@ -42,4 +42,11 @@ },

"license": "MIT",
"keywords": ["pdf", "highlight", "annotator", "react-component"],
"files": ["lib"],
"keywords": [
"pdf",
"highlight",
"annotator",
"react-component"
],
"files": [
"lib"
],
"directories": {

@@ -46,0 +53,0 @@ "lib": "lib"

## react-pdf-annotator
```
npm install react-pdf-annotator
```
`react-pdf-annotator` provides annotation experience for PDF documents on web

@@ -12,6 +8,16 @@ built on top of PDF.js. Text and rectangular highlights are supported. Highlight

### Example and API
### Demo
See `demo/src/App.js` for public API usage example.
https://agentcooper.github.io/react-pdf-annotator/
### Installation
`npm install react-pdf-annotator`
### Example
See
[`demo/src/App.js`](https://github.com/agentcooper/react-pdf-annotator/blob/master/demo/src/App.js)
for React component API example.
While docs are in progress, feel free to check the source annotated with Flow

@@ -23,5 +29,6 @@ type signatures.

[`react-pdf`](https://github.com/wojtekmaj/react-pdf) and
[`react-pdfjs`](https://github.com/erikras/react-pdfjs) do not have built-in
annotation functionality.
[`pdf-annotate.js/`](https://github.com/instructure/pdf-annotate.js/) does not
[`react-pdfjs`](https://github.com/erikras/react-pdfjs) only provide React
wrappers for PDF.js and do not have built-in annotation functionality.
[`pdfjs-annotate`](https://github.com/instructure/pdf-annotate.js/) does not
provide text highlights out of the box.

@@ -33,2 +40,4 @@

See also:
* https://github.com/mozilla/pdf.js

@@ -35,0 +44,0 @@ * https://github.com/wojtekmaj/react-pdf

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc