{
  "name": "@jose.espana/docstream",
  "version": "0.1.3",
  "description": "A universal Node.js & Browser library to parse any office document — legacy or modern — into plain text, structured AST or Markdown. Supports DOCX, XLSX, PPTX, ODT, ODS, ODP, PDF, RTF and legacy formats DOC, XLS, PPT. Built for AI pipelines, RAG systems and document processing workflows.",
  "main": "dist/index.js",
  "types": "dist/index.d.ts",
  "sideEffects": false,
  "engines": {
    "node": ">=18.0.0"
  },
  "files": [
    "dist",
    "README.md",
    "LICENSE"
  ],
  "publishConfig": {
    "access": "public"
  },
  "scripts": {
    "build": "tsc && node build_browser.js && npm run sync:docs",
    "build:node": "tsc",
    "build:browser": "node build_browser.js && npm run sync:docs",
    "sync:docs": "mkdir -p docs/dist && cp dist/officeparser.browser.js docs/dist/",
    "test": "npm run test:clean && npm run build && npx tsx test/testOfficeParser.ts",
    "test:clean": "rm -rf test/results",
    "clean": "rm -rf dist && npm run test:clean",
    "prepublishOnly": "npm run build",
    "prepare": "husky"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/joseespana/docstream.git"
  },
  "bin": "dist/index.js",
  "keywords": [
    "docstream",
    "document-parser",
    "office-parser",
    "markdown",
    "docx",
    "xlsx",
    "pptx",
    "doc",
    "xls",
    "ppt",
    "odt",
    "pdf",
    "rtf",
    "ast",
    "legacy-office",
    "rag",
    "llm",
    "text-extraction",
    "nodejs",
    "browser",
    "typescript"
  ],
  "author": "jose.espana",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/joseespana/docstream/issues"
  },
  "homepage": "https://github.com/joseespana/docstream#readme",
  "dependencies": {
    "@xmldom/xmldom": "^0.8.10",
    "concat-stream": "^2.0.0",
    "file-type": "^16.5.4",
    "pdfjs-dist": "5.4.530",
    "tesseract.js": "^6.0.0",
    "yauzl": "^3.1.3"
  },
  "devDependencies": {
    "@types/concat-stream": "^2.0.3",
    "@types/node": "^18.16.1",
    "@types/xmldom": "^0.1.33",
    "@types/yauzl": "^2.10.3",
    "esbuild": "^0.27.0",
    "esbuild-plugin-polyfill-node": "^0.3.0",
    "husky": "^9.1.7",
    "tsx": "^4.21.0",
    "typescript": "^5.0.3"
  }
}
