UNPKG

compare-pdf-plus

Version:

Standalone node module that compares PDFs

74 lines 1.71 kB
{ "name": "compare-pdf-plus", "version": "1.0.4", "type": "module", "description": "Standalone node module that compares PDFs", "main": "lib/index.cjs", "module": "lib/index.js", "source": "src/index.ts", "types": "lib/index.d.ts", "files": [ "lib" ], "exports": { ".": { "import": { "types": "./lib/index.d.ts", "default": "./lib/index.js" }, "require": { "types": "./lib/index.d.cts", "default": "./lib/index.cjs" } } }, "repository": { "type": "git", "url": "git+https://github.com/joel-daros/compare-pdf.git" }, "keywords": [ "pdf", "graphicsMagick", "imageMagick", "compare pdf", "test pdf" ], "publishConfig": { "provenance": true, "access": "public" }, "license": "ISC", "devDependencies": { "@biomejs/biome": "1.9.4", "@changesets/cli": "2.29.4", "@types/fs-extra": "11.0.4", "@types/gm": "1.25.4", "@types/lodash": "4.17.17", "@types/node": "^20", "@types/pngjs": "6.0.5", "happy-dom": "17.4.7", "tsup": "8.5.0", "typescript": "5.8.3", "vitest": "3.1.4" }, "dependencies": { "canvas": "3.1.0", "fs-extra": "11.3.0", "gm": "1.25.1", "lodash": "4.17.21", "pdfjs-dist": "5.2.133", "pixelmatch": "7.1.0", "pngjs": "7.0.0" }, "scripts": { "prebuild": "npm run typecheck", "build": "tsup", "ci:publish": "npm run build && changeset publish --access public", "format": "biome format --write ./src", "lint": "biome lint ./src", "release": "changeset", "typecheck": "tsc", "test": "vitest", "test:debug": "vitest --testTimeout=30000 --no-cache" } }