UNPKG

@pardnchiu/pdf2image

Version:

pdf2image is a lightweight JavaScript library to convert PDF pages into images (PNG, JPG, WebP) with real-time progress tracking and optional ZIP compression.

50 lines 1.79 kB
{ "name": "@pardnchiu/pdf2image", "version": "1.1.2", "description": "pdf2image is a lightweight JavaScript library to convert PDF pages into images (PNG, JPG, WebP) with real-time progress tracking and optional ZIP compression.", "main": "dist/pdf2image.js", "module": "dist/pdf2image.esm.js", "scripts": { "minify": "npx terser src/*.js -c -m -o dist/pdf2image.js --config-file terser.config.json --name-cache terser.cache.json && npx terser src/*.js -c -m -o dist/pdf2image.esm.js --config-file terser.config.json --name-cache terser.cache.json && echo 'export const pdf2image = window.pdf2image;' >> dist/pdf2image.esm.js", "minify-w": "chokidar src/*.js -c 'npm run minify'", "sass": "sass src/:dist/ -w --style compressed --no-source-map", "sass-index": "sass static/sass/:static/css -w --style compressed --no-source-map" }, "publishConfig": { "access": "public" }, "files": [ "dist", "LICENSE", "README.md" ], "repository": { "type": "git", "url": "https://github.com/pardnchiu/pdf2image.git" }, "keywords": [ "javascript-library", "pdf-to-png", "pdf-to-jpg", "pdf-to-webp", "pdf-to-image", "邱敬幃", "pardnchiu" ], "author": { "name": "邱敬幃 Pardn Chiu", "email": "dev@pardn.io", "url": "https://github.com/pardnchiu" }, "license": "MIT", "bugs": { "url": "https://github.com/pardnchiu/pdf2image/issues", "email": "dev@pardn.io" }, "homepage": "https://github.com/pardnchiu/pdf2image#readme", "devDependencies": { "chokidar-cli": "3.0.0", "terser": "5.31.3", "sass": "1.62.0" } }