{
  "name": "ppu-doclayout",
  "version": "1.0.0",
  "description": "Blazing-fast, type-safe and lightweight PP-DocLayoutV2 library for Web, Node.js/Deno/Bun. Powered by ONNX Runtime and PaddlePaddle, it delivers state-of-the-art document layout detection with unparalleled speed and accuracy. Perfect for document analysis, OCR, and AI applications.",
  "keywords": [
    "layout-detection",
    "layout-analysis",
    "document-layout",
    "document-structure",
    "bun-compatible",
    "computer-vision",
    "document-ai",
    "document-analysis",
    "document-processing",
    "image-processing",
    "layout-library",
    "onnx",
    "onnxruntime",
    "paddle-paddle",
    "doclayoutv2",
    "paddleocr",
    "paddlepaddle",
    "text-detection"
  ],
  "author": "snowfluke",
  "license": "MIT",
  "type": "module",
  "main": "./index.js",
  "types": "./index.d.ts",
  "exports": {
    ".": {
      "types": "./index.d.ts",
      "default": "./index.js"
    },
    "./web": {
      "types": "./web/index.d.ts",
      "default": "./web/index.js"
    }
  },
  "scripts": {
    "task": "bun scripts/task.ts",
    "build:test": "bun task build && bun test",
    "build:publish": "bun task build && bun task report-size && bun task publish",
    "clear-cache": "bun scripts/clear-cache.ts",
    "lint": "prettier --check ./src",
    "lint:fix": "prettier --write ./src",
    "demo": "bunx -y serve -l 3456 ."
  },
  "devDependencies": {
    "@stylistic/eslint-plugin": "latest",
    "@types/bun": "latest",
    "@types/uglify-js": "latest",
    "canvas": "^3.2.1",
    "mitata": "latest",
    "onnxruntime-node": "^1.24.2",
    "onnxruntime-web": "^1.24.2",
    "prettier": "^3.8.1",
    "tsx": "latest",
    "typescript": "latest",
    "typescript-eslint": "latest",
    "uglify-js": ">=2.4.24"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/PT-Perkasa-Pilar-Utama/ppu-doclayout.git"
  },
  "dependencies": {
    "ppu-ocv": "^3.1.0"
  },
  "peerDependencies": {
    "onnxruntime-node": "^1.24.2",
    "onnxruntime-web": "^1.24.2"
  },
  "peerDependenciesMeta": {
    "onnxruntime-node": {
      "optional": true
    },
    "onnxruntime-web": {
      "optional": true
    }
  }
}
