UNPKG

@cherrystudio/pdf-to-img-napi

Version:

📃📸 Converts PDFs to images in nodejs with napi-rs/canvas

54 lines (53 loc) • 1.24 kB
{ "name": "@cherrystudio/pdf-to-img-napi", "version": "0.0.2", "author": "DeJeune", "description": "📃📸 Converts PDFs to images in nodejs with napi-rs/canvas", "exports": "./dist/index.js", "types": "dist/index.d.ts", "type": "module", "license": "MIT", "files": [ "dist" ], "keywords": [ "pdf", "pdfjs", "pdf-to-img-napi", "pdf-to-png", "vitest", "jest" ], "repository": "https://github.com/DeJeune/pdf-to-img-rs", "scripts": { "build": "tsc && rm -rf dist && mv temp/src dist && rm -rf temp", "lint": "eslint .", "test": "vitest --pool=forks", "trypublish": "npm publish --provenance || true" }, "bin": { "pdf2img": "./bin/cli.mjs" }, "engines": { "node": ">=18" }, "engineStrict": true, "dependencies": { "@napi-rs/canvas": "^0.1.71", "pdfjs-dist": "^4.10.38" }, "devDependencies": { "@types/jest-image-snapshot": "^6.4.0", "@types/node": "^22.13.4", "@vitest/coverage-v8": "^1.6.0", "eslint": "^9.20.1", "eslint-config-kyle": "^25.0.0", "jest-image-snapshot": "^6.4.0", "jsdom": "^26.0.0", "typescript": "^5.2.2", "vitest": "^1.6.0" }, "prettier": { "trailingComma": "es5" } }