Skip to content

kba/hocr-dom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HocrDOM

Extend DOM to handle hOCR

CircleCI

hocr-dom

The main package, contains code for querying hOCR elements and parsing / accesing properties.

See the README for API docs.

In short, in the browser, you will only need

HocrDOM.extendPrototypes(window)

After this, you can use document.queryHocrAll on document and elements, as well as access properties via their hocr property.

hocr-dom-jsdom

Contains a browser-independent HTML parser with built-in hOCR support, thanks to jsdom.

About

Extend DOM to handle hOCR

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors