robertknight / tesseract-wasm

JS/WebAssembly build of the Tesseract OCR engine for use in browsers and Node
https://robertknight.github.io/tesseract-wasm/
BSD 2-Clause "Simplified" License
264 stars 27 forks source link

rename emscripten Module to initTesseractCore #79

Closed wydengyre closed 8 months ago

wydengyre commented 1 year ago

By default, the exported emscripten init function is ambiguously named Module. This change ensures it is renamed to initTesseractCore, which is consistent with the name used elsewhere in the codebase.