UNPKG

web-print-pdf

Version:

Powerful JavaScript HTML to PDF printing library for web applications. Convert HTML to PDF, print web pages, images, and documents with WebSocket support. Works with Vue, React, Angular, and all modern frameworks. Features batch printing, custom styling,

94 lines (93 loc) 2.66 kB
{ "name": "web-print-pdf", "version": "2.1.4", "description": "Powerful JavaScript HTML to PDF printing library for web applications. Convert HTML to PDF, print web pages, images, and documents with WebSocket support. Works with Vue, React, Angular, and all modern frameworks. Features batch printing, custom styling, watermarks, and page numbers.", "main": "dist/index.js", "types": "dist/types/index.d.ts", "scripts": { "build": "tsc && copyfiles -u 0 README.md README_CN.md LICENSE CHANGELOG.md dist/", "build:watch": "tsc -w", "format": "prettier --write \"src/**/*.ts\" \"src/**/*.js\"", "format:check": "prettier --check \"src/**/*.ts\" \"src/**/*.js\"", "lint": "eslint src/**/*.ts", "lint:fix": "eslint src/**/*.ts --fix", "test": "echo \"Error: no test specified\" && exit 1", "prepublishOnly": "npm run build", "clean": "rimraf dist", "dev": "npm run build:watch", "docs": "echo \"Documentation is in README.md and README_CN.md\"", "version": "npm run build && git add -A dist", "postversion": "git push && git push --tags" }, "repository": { "type": "git", "url": "https://github.com/weixiaoyi/web-print-pdf.git" }, "keywords": [ "html-to-pdf", "pdf-generator", "print-pdf", "html2pdf", "web-printing", "pdf-printing", "javascript-print", "browser-print", "print-library", "pdf-converter", "html-print", "web-to-pdf", "document-printing", "batch-printing", "websocket-print", "silent-print", "print-service", "pdf-generation", "vue-print", "react-print", "angular-print", "printjs", "print-html", "electron-print", "node-print", "typescript-print", "frontend-print", "client-print", "printer-api", "print-automation", "html-renderer", "pdf-export", "document-converter", "page-printing", "watermark-pdf", "custom-print", "print-preview", "print-utility", "web-print-pdf", "browser-automation" ], "author": "杭州把把胡科技有限公司", "license": "MIT", "bugs": { "url": "https://github.com/weixiaoyi/web-print-pdf/issues" }, "homepage": "http://webprintpdf.com/", "devDependencies": { "copyfiles": "^2.4.1", "prettier": "^3.5.3", "rimraf": "^5.0.0", "typescript": "^5.8.3" }, "files": [ "dist/**/*", "README.md", "README_CN.md", "LICENSE", "CHANGELOG.md" ], "engines": { "node": ">=12.0.0" }, "publishConfig": { "access": "public" } }