{
  "name": "ffocr",
  "version": "0.1.13",
  "description": "Browser-first PaddleOCR wrapper powered by ONNX Runtime Web with automatic WebGPU/WASM selection.",
  "type": "module",
  "main": "./dist/index.cjs",
  "module": "./dist/index.mjs",
  "types": "./dist/index.d.mts",
  "exports": {
    ".": {
      "import": {
        "types": "./dist/index.d.mts",
        "default": "./dist/index.mjs"
      },
      "require": {
        "types": "./dist/index.d.cts",
        "default": "./dist/index.cjs"
      }
    }
  },
  "files": [
    "dist",
    "README.md",
    "LICENSE"
  ],
  "sideEffects": false,
  "scripts": {
    "build": "tsdown",
    "check": "tsc --noEmit",
    "models:patch:webgpu": "node scripts/patch-onnx-webgpu-compat.mjs",
    "models:convert": "scripts/convert-ppocrv5-to-onnx.sh",
    "models:stage:pages": "scripts/stage-models-for-pages.sh",
    "test": "vitest run",
    "test:watch": "vitest",
    "prepublishOnly": "npm run build && npm run check"
  },
  "keywords": [
    "ocr",
    "paddleocr",
    "onnx",
    "onnxruntime",
    "webgpu",
    "browser",
    "frontend"
  ],
  "repository": {
    "type": "git",
    "url": "git+https://github.com/zxc88645/ffocr.git"
  },
  "homepage": "https://github.com/zxc88645/ffocr#readme",
  "bugs": {
    "url": "https://github.com/zxc88645/ffocr/issues"
  },
  "license": "MIT",
  "dependencies": {
    "onnxruntime-web": "^1.26.0"
  },
  "devDependencies": {
    "onnx-proto": "^8.0.1",
    "tsdown": "^0.21.10",
    "typescript": "^6.0",
    "vitest": "^4.1.1"
  },
  "overrides": {
    "protobufjs": "7.5.8",
    "@protobufjs/utf8": "1.1.1"
  }
}
