Skip to content

Commit

Permalink
Updated version numbers in README
Browse files Browse the repository at this point in the history
  • Loading branch information
Balearica authored Nov 27, 2022
1 parent 91f9f6c commit e2f2768
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,27 +97,24 @@ Tesseract.js works with a `<script>` tag via local copy or CDN, with webpack via

### CDN
```html
<!-- v2 -->
<script src='https://unpkg.com/[email protected]/dist/tesseract.min.js'></script>

<!-- v1 -->
<script src='https://unpkg.com/[email protected]/src/index.js'></script>
<!-- v4 -->
<script src='https://unpkg.com/[email protected]/dist/tesseract.min.js'></script>
```
After including the script the `Tesseract` variable will be globally available.


### Node.js

**Tesseract.js v3 requires Node.js v14 or higher**
**Requires Node.js v14 or higher**

```shell
# For v3
# For latest version
npm install tesseract.js
yarn add tesseract.js

# For v2
npm install tesseract.js@2
yarn add tesseract.js@2
# For old versions
npm install tesseract.js@3.0.3
yarn add tesseract.js@3.0.3
```


Expand Down

0 comments on commit e2f2768

Please sign in to comment.