From 9b1d09a72e299bc8b7045cfeabb6a41be9773163 Mon Sep 17 00:00:00 2001 From: Guillermo Date: Mon, 3 Oct 2016 21:10:24 -0400 Subject: [PATCH] readme stuff --- README.md | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 01a4bfc..f0de7ff 100644 --- a/README.md +++ b/README.md @@ -42,8 +42,22 @@ Tesseract.workerUrl = 'http://www.absolute-path-to/tesseract.worker.js' After including your scripts, the `Tesseract` variable should be defined! You can [head to the docs](#docs) for a full treatment of the API. ## npm -### TODO -walp +First: +```shell +> npm install tesseract.js --save +``` + +Then +```javascript +var Tesseract = require('tesseract.js') +``` + +or +```javascript +import Tesseract from 'tesseract.js' +``` + +You can [head to the docs](#docs) for a full treatment of the API. # Docs