{
  "name": "js.documents",
  "version": "7.20.33",
  "description": "Bidirectional docx/pptx <-> PDF conversion and a read+write editable OOXML document model, built on ooxml.js and Zod 4 codecs.",
  "type": "module",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/ExaDev/documents.js.git",
    "directory": "packages/documents.js"
  },
  "homepage": "https://github.com/ExaDev/documents.js#readme",
  "bugs": {
    "url": "https://github.com/ExaDev/documents.js/issues"
  },
  "exports": {
    ".": {
      "types": {
        "import": "./dist/index.d.ts",
        "require": "./dist/index.d.cts"
      },
      "import": "./dist/index.js",
      "require": "./dist/index.cjs"
    },
    "./read": {
      "types": {
        "import": "./dist/convert/from-pdf.d.ts",
        "require": "./dist/convert/from-pdf.d.cts"
      },
      "import": "./dist/convert/from-pdf.js",
      "require": "./dist/convert/from-pdf.cjs"
    },
    "./*": {
      "types": {
        "import": "./dist/*.d.ts",
        "require": "./dist/*.d.cts"
      },
      "import": "./dist/*.js",
      "require": "./dist/*.cjs"
    }
  },
  "main": "./dist/index.cjs",
  "module": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "typesVersions": {
    "*": {
      "read": [
        "./dist/convert/from-pdf.d.ts"
      ]
    }
  },
  "bin": {
    "documents.js": "./dist/bin.js"
  },
  "files": [
    "dist"
  ],
  "publishConfig": {
    "access": "public",
    "provenance": true,
    "registry": "https://registry.npmjs.org/"
  },
  "sideEffects": false,
  "engines": {
    "node": ">=20"
  },
  "keywords": [
    "docx",
    "pptx",
    "pdf",
    "docx-to-pdf",
    "pdf-to-docx",
    "pptx-to-pdf",
    "ooxml",
    "document-conversion",
    "zod",
    "codec"
  ],
  "license": "MIT",
  "dependencies": {
    "archive-codec": "1.11.6",
    "byte-codec": "1.6.2",
    "doc-codec": "3.0.0",
    "document-schema.js": "7.11.4",
    "epub-codec": "2.0.0",
    "fflate": "0.8.3",
    "markdown-codec": "7.0.0",
    "odf.js": "8.0.0",
    "ooxml.js": "9.1.1",
    "pdf-codec": "5.0.0",
    "ppt-codec": "2.0.0",
    "rtf-codec": "5.0.0",
    "temml": "0.13.4",
    "wpd-codec": "4.0.0",
    "xls-codec": "4.15.11",
    "zod": "4.4.3"
  },
  "devDependencies": {
    "@arethetypeswrong/cli": "0.18.5",
    "@cloudflare/vitest-pool-workers": "0.21.2",
    "@stryker-mutator/core": "10.0.0",
    "@stryker-mutator/typescript-checker": "10.0.0",
    "@stryker-mutator/vitest-runner": "10.0.0",
    "@types/node": "26.2.0",
    "@vitest/coverage-v8": "4.1.11",
    "eslint": "10.8.1",
    "husky": "9.1.7",
    "jiti": "2.7.0",
    "publint": "0.3.22",
    "semantic-release": "25.0.9",
    "tsdown": "0.22.14",
    "turbo": "2.10.8",
    "typescript": "6.0.3",
    "vitest": "4.1.11"
  },
  "scripts": {
    "build": "turbo run _build",
    "_build": "tsdown",
    "lint": "turbo run _lint",
    "_lint": "eslint . --fix --cache --max-warnings 0",
    "typecheck": "turbo run _typecheck _typecheck:node _typecheck:attw",
    "_typecheck": "tsc -p tsconfig.json",
    "_typecheck:node": "tsc -p tsconfig.node.json",
    "_typecheck:attw": "attw --pack",
    "test": "turbo run _test",
    "_test": "vitest run --project unit",
    "test:workers": "turbo run _test:workers",
    "_test:workers": "vitest run --config vitest.workers.config.ts",
    "test:watch": "vitest --project unit",
    "test:coverage": "turbo run _test:coverage",
    "_test:coverage": "vitest run --project unit --coverage",
    "test:mutation": "turbo run _test:mutation",
    "_test:mutation": "stryker run stryker.config.ts",
    "test:smoke": "turbo run _test:smoke",
    "_test:smoke": "vitest run --project smoke",
    "release": "semantic-release"
  }
}