{
    "name": "pdf-to-png-converter",
    "version": "4.2.0",
    "description": "Node.js utility to convert PDF file/buffer pages to PNG files/buffers. No build-time compilation required — pre-built native binaries included for all major platforms.",
    "keywords": [
        "pdf",
        "pdfparse",
        "pdf parse",
        "pdf-parse",
        "pdf to png",
        "pdf to image",
        "pdf file to image",
        "pdf buffer to image",
        "convert pdf to png",
        "pdf to png converter",
        "pdf to png cli"
    ],
    "homepage": "https://github.com/dichovsky/pdf-to-png-converter#readme",
    "bugs": {
        "url": "https://github.com/dichovsky/pdf-to-png-converter/issues"
    },
    "repository": {
        "type": "git",
        "url": "git+https://github.com/dichovsky/pdf-to-png-converter.git"
    },
    "funding": "https://buymeacoffee.com/dichovsky",
    "license": "MIT",
    "author": "Igor Magdich <magdich.igor@gmail.com>",
    "sideEffects": false,
    "type": "commonjs",
    "exports": {
        ".": {
            "types": "./out/index.d.ts",
            "require": "./out/index.js",
            "default": "./out/index.js"
        }
    },
    "main": "out/index.js",
    "types": "out/index.d.ts",
    "bin": {
        "pdf-to-png-converter": "out/cli.js"
    },
    "files": [
        "out"
    ],
    "scripts": {
        "prebuild": "npm run clean",
        "build": "node ./node_modules/@typescript/native/bin/tsc --pretty --project tsconfig.prod.json",
        "build:strict": "node ./node_modules/@typescript/native/bin/tsc --project tsconfig.strict.json",
        "bench": "npm run build && ts-node scripts/benchmark.ts",
        "build:test": "node ./node_modules/@typescript/native/bin/tsc --pretty --noEmit --project tsconfig.json",
        "clean": "rimraf ./out ./test-results",
        "codemap": "ts-node scripts/generate-codemap.ts",
        "codemap:check": "ts-node scripts/generate-codemap.ts --check",
        "docker:build": "docker build --build-arg NODE_VERSION=$(cat .nvmrc) --compress -t test-pdf-to-png-converter .",
        "docker:run": "docker run --rm -it -v ${PWD}/test-results:/usr/pkg/test-results test-pdf-to-png-converter",
        "docker:test": "vitest run --coverage",
        "format": "prettier --write .",
        "format:check": "prettier --check .",
        "lint": "eslint .",
        "prepare": "husky",
        "prepublishOnly": "npm test && npm run build",
        "pretest": "npm run clean && npm run build:test && npm run build:strict && npm run codemap:check && npm run format:check && npm run lint && npm run test:license",
        "release:precheck": "ts-node scripts/release-precheck.ts",
        "release:postcheck": "ts-node scripts/release-postcheck.ts",
        "test": "vitest run --coverage",
        "test:docker": "npm run clean && npm run docker:build && npm run docker:run",
        "test:fast": "vitest run --reporter=dot --no-coverage",
        "test:license": "license-checker-rseidelsohn --production --onlyAllow \"ISC; MIT; MIT OR X11; BSD; Apache-2.0; Unlicense\""
    },
    "lint-staged": {
        "src/**/*.ts": [
            "eslint --fix",
            "prettier --write"
        ],
        "__tests__/**/*.ts": [
            "prettier --write"
        ]
    },
    "dependencies": {
        "@napi-rs/canvas": "~1.0.3",
        "pdfjs-dist": "~6.2.108"
    },
    "devDependencies": {
        "@eslint/js": "^10.0.1",
        "@types/node": "^26.1.2",
        "@typescript-eslint/eslint-plugin": "^8.65.0",
        "@typescript-eslint/parser": "^8.65.0",
        "@typescript/native": "npm:typescript@~7.0.2",
        "@vitest/coverage-v8": "^4.1.10",
        "eslint": "^10.8.0",
        "husky": "^9.1.7",
        "license-checker-rseidelsohn": "^5.0.1",
        "lint-staged": "^17.2.0",
        "png-visual-compare": "^6.2.0",
        "prettier": "^3.9.6",
        "rimraf": "^6.1.3",
        "ts-node": "^10.9.2",
        "typescript": "npm:@typescript/typescript6@~6.0.2",
        "vitest": "^4.1.10"
    },
    "overrides": {
        "brace-expansion": "^5.0.8"
    },
    "packageManager": "npm@11.13.0",
    "engines": {
        "node": ">=22.13.0 || >=24"
    },
    "_packageFormatNote": "CJS-only — nodenext TS with .js specifiers is compatible."
}
