# react-clipboard-ocr

> React Component for copy text from image (JPG, PNG, PDF etc.)

Latest version **1.2.4** (published 2018-02-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-clipboard-ocr
pnpm add react-clipboard-ocr
yarn add react-clipboard-ocr
bun add react-clipboard-ocr
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.4 |
| Published | 2018-02-06 |
| First published | 2018-01-31 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 12 |
| Known vulnerabilities | 0 (+3 in 2 direct dependencies) |
| Install scripts | yes |
| GitHub stars | 1 |
| Author | BysahaOleh |
| Maintainers | olehbysaha |
| Keywords | react, ocr, text, image, copy |

## Links

- npm: https://www.npmjs.com/package/react-clipboard-ocr
- Repository: https://github.com/BysahaOleh/react-clipboard-ocr
- Homepage: https://github.com/BysahaOleh/react-clipboard-ocr#readme
- Issues: https://github.com/BysahaOleh/react-clipboard-ocr/issues
- npm.io page: https://npm.io/package/react-clipboard-ocr

## Dependencies (12)

- [react](https://npm.io/package/react.md) ^16.2.0
- [rollup](https://npm.io/package/rollup.md) ^0.53.0
- [react-dom](https://npm.io/package/react-dom.md) ^16.2.0
- [pdfjs-dist](https://npm.io/package/pdfjs-dist.md) ^2.0.303
- [typescript](https://npm.io/package/typescript.md) ^2.6.2
- [rc-progress](https://npm.io/package/rc-progress.md) ^2.2.5
- [tesseract.js](https://npm.io/package/tesseract.js.md) ^1.0.10
- [react-cropper](https://npm.io/package/react-cropper.md) ^1.0.1
- [styled-components](https://npm.io/package/styled-components.md) ^3.1.0
- [rollup-plugin-css-only](https://npm.io/package/rollup-plugin-css-only.md) ^0.4.0
- [react-copy-to-clipboard](https://npm.io/package/react-copy-to-clipboard.md) ^5.0.1
- [rollup-plugin-typescript](https://npm.io/package/rollup-plugin-typescript.md) ^0.8.1

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 1.2.4 (latest) — 2018-02-06
- 1.2.3 — 2018-02-06
- 1.2.2 — 2018-02-06
- 1.2.1 — 2018-02-06
- 1.2.0 — 2018-02-06
- 1.1.2 — 2018-01-31
- 1.1.0 — 2018-01-31
- 1.0.1 — 2018-01-31
- 1.0.0 — 2018-01-31

## README

# react-clipboard-ocr
Simple React component for copy text from image (JPG, PNG, PDF etc.)

### Insatall
```sh
npm i --save react-clipboard-ocr
```



### Example

#### In React project
```js
const ReactImageOCR = require('react-clipboard-ocr') //import the library
require('react-clipboard-ocr/style.css') //import the styles for cropper.js

//...
<ReactImageOCR/> //add in exist react component
//...
```

#### In other projects
```js
import * as React from 'react'
import {render} from 'react-dom'
const ReactImageOCR = require('react-clipboard-ocr') //import the library
require('react-clipboard-ocr/style.css') //import the styles for cropper.js

render(<ReactImageOCR/>, document.getElementById('anyID'))
```

---
_Source: https://npm.io/package/react-clipboard-ocr · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
