html-to-document-adapter-pdf
Version:
PDF adapter for html-to-document-core — converts a DocumentElement tree into .pdf using the html2pdf.js library.
68 lines • 1.71 kB
JSON
{
"name": "html-to-document-adapter-pdf",
"version": "0.3.3",
"description": "PDF adapter for html-to-document-core — converts a DocumentElement tree into .pdf using the html2pdf.js library.",
"keywords": [
"html-to-document",
"pdf",
"adapter",
"pdf-converter",
"pdf-lib"
],
"license": "ISC",
"homepage": "https://github.com/ChipiKaf/html-to-document#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/ChipiKaf/html-to-document.git",
"directory": "packages/adapters/pdf"
},
"bugs": {
"url": "https://github.com/ChipiKaf/html-to-document/issues"
},
"publishConfig": {
"access": "public"
},
"exports": {
".": {
"default": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.js"
}
}
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"README.md",
"CHANGELOG.md"
],
"dependencies": {
"html2pdf.js": "^0.10.2",
"libreoffice-convert": "^1.6.1",
"mammoth": "^1.6.0",
"zetajs": "^1.1.0"
},
"engines": {
"node": ">=14"
},
"peerDependencies": {
"jsdom": "*",
"html-to-document-core": "0.4.2"
},
"devDependencies": {
"pdf-parse": "^1.1.1",
"vitest": "^3.2.4",
"html-to-document-core": "0.4.2",
"html-to-document-adapter-docx": "^0.5.0"
},
"scripts": {
"typecheck": "tsc --noEmit",
"build": "tsc -p tsconfig.json",
"test": "vitest --watch false",
"test:watch": "vitest --watch",
"lint": "eslint 'src/**/*.{ts,tsx}' --ignore-pattern '**/*.d.ts'",
"format": "prettier --write 'src/**/*.{ts,tsx,js,jsx,json,css,md}'"
}
}