unocr
Version:
Unified OCR library with multi-driver support for Tesseract.js and AI models, providing structured text extraction using hast-based output format
84 lines • 1.83 kB
JSON
{
"name": "unocr",
"version": "0.0.2",
"description": "Unified OCR library with multi-driver support for Tesseract.js and AI models, providing structured text extraction using hast-based output format",
"main": "dist/index.mjs",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
},
"./drivers/*": {
"import": "./dist/drivers/*.mjs",
"require": "./dist/drivers/*.cjs",
"types": "./dist/drivers/*.d.ts"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/bysages/typography.git"
},
"keywords": [
"ocr",
"optical-character-recognition",
"tesseract",
"ai",
"artificial-intelligence",
"vision",
"text-recognition",
"image-processing",
"computer-vision",
"multi-language",
"typescript",
"nodejs",
"ocr-engine",
"document-analysis",
"text-extraction",
"hocr",
"hast",
"structured-data",
"multimodal",
"gpt",
"openai",
"vercel-ai"
],
"author": {
"name": "By Sages",
"email": "contact@bysages.com",
"url": "https://www.bysages.com/"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/bysages/typography/issues"
},
"homepage": "https://github.com/bysages/typography#readme",
"dependencies": {
"@types/hast": "3.0.4",
"hast-util-from-html": "2.0.3",
"undio": "0.2.0"
},
"peerDependencies": {
"ai": "^5.0.97",
"tesseract.js": "^6.0.1"
},
"peerDependenciesMeta": {
"ai": {
"optional": true
},
"tesseract.js": {
"optional": true
}
},
"devDependencies": {
"ai": "^5.0.97",
"tesseract.js": "^6.0.1"
},
"scripts": {
"dev": "unbuild --stub",
"build": "unbuild"
}
}