UNPKG

@gutenye/ocr-node

Version:

Guten OCR is a high accurate text detection (OCR) Javascript/Typescript library that runs on Node.js, Browser, React Native and C++. Based on PaddleOCR and ONNX runtime

8 lines 258 B
import fs from 'node:fs/promises'; import { FileUtilsBase } from '@gutenye/ocr-common'; export class FileUtils extends FileUtilsBase { static async read(path) { return await fs.readFile(path, 'utf8'); } } //# sourceMappingURL=FileUtils.js.map