{
  "name": "pdf-raster-cpu",
  "version": "1.0.93",
  "description": "Pure-software reference backend for pdf-codec's PageRasteriser port: an RGBA scanline rasteriser that renders a page (or a located figure region) to PNG bytes with no canvas dependency, on any Worker-isomorphic runtime.",
  "type": "module",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/ExaDev/documents.js.git",
    "directory": "packages/pdf-raster-cpu"
  },
  "homepage": "https://github.com/ExaDev/documents.js/tree/main/packages/pdf-raster-cpu",
  "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"
    },
    "./*": {
      "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",
  "files": [
    "dist"
  ],
  "publishConfig": {
    "access": "public",
    "provenance": true,
    "registry": "https://registry.npmjs.org/"
  },
  "sideEffects": false,
  "engines": {
    "node": ">=20"
  },
  "scripts": {
    "build": "turbo run _build",
    "_build": "tsdown",
    "prepublishOnly": "pnpm run lint && pnpm run typecheck && tsdown && publint && attw --pack",
    "lint": "turbo run _lint",
    "_lint": "eslint . --fix --cache --max-warnings 0",
    "lint:check": "eslint . --max-warnings 0",
    "typecheck": "turbo run _typecheck _typecheck:attw",
    "_typecheck": "tsc -p tsconfig.json && tsc -p tsconfig.node.json",
    "_typecheck:attw": "attw --pack",
    "test": "turbo run _test",
    "_test": "vitest run",
    "_test:coverage": "vitest run --coverage",
    "test:mutation": "turbo run _test:mutation",
    "_test:mutation": "stryker run stryker.config.ts",
    "test:watch": "vitest",
    "test:workers": "turbo run _test:workers",
    "_test:workers": "vitest run --config vitest.workers.config.ts",
    "prepare": "husky"
  },
  "keywords": [
    "pdf",
    "rasteriser",
    "rasterizer",
    "renderer",
    "png",
    "ocr",
    "canvas-free",
    "workers"
  ],
  "license": "MIT",
  "packageManager": "pnpm@12.4.1+sha512.2e81e399d73fe8390dab25e06aa788ab7a5908248d2f5a370f82b481147a6a7a367bf8048f9a6fdb6460f21a66f0542dedb8b94ca2c8723596741920b1656d4c",
  "dependencies": {
    "byte-codec": "2.0.2",
    "pdf-codec": "5.5.0"
  },
  "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",
    "tsdown": "0.22.14",
    "turbo": "2.10.8",
    "typescript": "6.0.3",
    "vitest": "4.1.11"
  }
}
