{
  "name": "ai-vision-parser",
  "version": "0.1.12",
  "description": "A powerful TypeScript library for extracting and analyzing content from PDF, Image, and Video files using Vision Language Models",
  "main": "dist/index.js",
  "types": "dist/index.d.ts",
  "files": [
    "dist",
    "README.md",
    "LICENSE"
  ],
  "repository": {
    "type": "git",
    "url": "https://github.com/vophihungvn/node-vision-parser.git"
  },
  "keywords": [
    "vision",
    "llm",
    "pdf",
    "image",
    "video",
    "parser",
    "ai",
    "vision-language-model"
  ],
  "author": "vophihungvn@gmail.com",
  "license": "Apache-2.0",
  "engines": {
    "node": ">=18.0.0"
  },
  "homepage": "https://github.com/vophihungvn/node-vision-parser#readme",
  "bugs": {
    "url": "https://github.com/vophihungvn/node-vision-parser/issues"
  },
  "dependencies": {
    "@aws-sdk/client-s3": "^3.936.0",
    "aisuite": "^0.1.1",
    "canvas": "^2.11.2",
    "dotenv": "^17.2.3",
    "ffmpeg-static": "^5.3.0",
    "fluent-ffmpeg": "^2.1.3",
    "mammoth": "^1.8.0",
    "pdfjs-dist": "3.11.174",
    "sharp": "^0.34.5",
    "winston": "^3.18.3",
    "zod": "^3.25.76"
  },
  "devDependencies": {
    "@eslint/js": "^9.39.1",
    "@types/fluent-ffmpeg": "^2.1.28",
    "@types/jest": "^30.0.0",
    "@types/node": "^24.10.1",
    "@typescript-eslint/eslint-plugin": "^8.47.0",
    "@typescript-eslint/parser": "^8.47.0",
    "eslint": "^9.39.1",
    "eslint-config-prettier": "^10.1.8",
    "jest": "^30.2.0",
    "prettier": "^3.6.2",
    "ts-jest": "^29.4.5",
    "ts-node": "^10.9.2",
    "typescript": "^5.9.3",
    "typescript-eslint": "^8.47.0"
  },
  "peerDependenciesMeta": {
    "tesseract.js": {
      "optional": true
    },
    "@google-cloud/vision": {
      "optional": true
    },
    "@azure/cognitiveservices-computervision": {
      "optional": true
    },
    "@azure/ms-rest-js": {
      "optional": true
    },
    "@napi-rs/canvas": {
      "optional": true
    }
  },
  "optionalDependencies": {},
  "scripts": {
    "build": "tsc -p tsconfig.build.json",
    "test": "jest",
    "test:watch": "jest --watch",
    "test:coverage": "jest --coverage",
    "test:coverage:html": "jest --coverage --coverageReporters=html",
    "test:pdf": "ts-node examples/test-pdf.ts",
    "test:image": "ts-node examples/test-image.ts",
    "lint": "eslint . --ext .ts,.js",
    "lint:fix": "eslint . --ext .ts,.js --fix",
    "format": "prettier --write \"**/*.{ts,js,json,md}\"",
    "format:check": "prettier --check \"**/*.{ts,js,json,md}\"",
    "type-check": "tsc --noEmit",
    "check": "pnpm run type-check && pnpm run lint && pnpm run format:check",
    "postinstall": "cd node_modules/.pnpm/canvas@*/node_modules/canvas && npx node-gyp rebuild || echo 'Warning: Canvas build failed. Run manually: cd node_modules/.pnpm/canvas@*/node_modules/canvas && npx node-gyp rebuild'",
    "publish:dry-run": "npm pack --dry-run",
    "publish:public": "npm publish --access public"
  }
}