{"_id":"@condorhero/vuepress-plugin-export-pdf-v2","_rev":"8-b7ccd044a1585ad24fc74345bcd7a390","name":"@condorhero/vuepress-plugin-export-pdf-v2","dist-tags":{"latest":"3.0.3"},"versions":{"2.0.0":{"name":"@condorhero/vuepress-plugin-export-pdf-v2","type":"module","version":"2.0.0","description":"Vuepress plugin exports PDF 📁.","keywords":["vuepress-plugin-export-pdf-v2","vuepress-plugin-export-pdf","vuepress-plugin","vuepress","plugin"],"license":"MIT","author":"CondorHero","repository":{"type":"git","url":"git+https://github.com/condorheroblog/vuepress-plugin.git","directory":"packages/vuepress-plugin-export-pdf-v2"},"main":"dist/index.cjs","module":"dist/index.mjs","types":"dist/index.d.ts","exports":{".":{"require":"./dist/index.cjs","import":"./dist/index.mjs"}},"bin":{"press-export-pdf":"bin/press-export-pdf.mjs"},"bugs":{"url":"https://github.com/condorheroblog/vuepress-plugin/issues"},"engines":{"node":">=14"},"homepage":"https://github.com/condorheroblog/vuepress-plugin#readme","publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"peerDependencies":{"vuepress":"2.x"},"dependencies":{"@vuepress/utils":"2.0.0-beta.24","bundle-require":"^3.0.4","cac":"^6.7.12","cli-progress":"^3.11.2","debug":"^4.3.4","envinfo":"^7.8.1","multimatch":"^6.0.0","pdfjs":"^2.4.7","puppeteer":"^15.4.0","semver":"^7.3.7"},"devDependencies":{"@types/cli-progress":"^3.11.0","@types/envinfo":"^7.8.1","@types/semver":"^7.3.10","vuepress":"^2.0.0-beta.49"},"scripts":{"build":"unbuild","dev":"esno ./src/commands/press-export-pdf.ts export ./example/vuepress-next/docs"},"_id":"@condorhero/vuepress-plugin-export-pdf-v2@2.0.0","_integrity":"sha512-jAENPGNLh6Z4ODipmIm8ZK7UovL0Pjx8gyfaiRHLc2x03zWDXTP/n0wqjaYcaA+hmGKIjZ5Q47ttI5GmuwfbVw==","_resolved":"/private/var/folders/7j/t79xy7qs13ld89z06lzx68t00000gn/T/904871c369fe4a6fd74735c40bbdaa5d/condorhero-vuepress-plugin-export-pdf-v2-2.0.0.tgz","_from":"file:condorhero-vuepress-plugin-export-pdf-v2-2.0.0.tgz","_nodeVersion":"16.15.1","_npmVersion":"7.20.1","dist":{"integrity":"sha512-jAENPGNLh6Z4ODipmIm8ZK7UovL0Pjx8gyfaiRHLc2x03zWDXTP/n0wqjaYcaA+hmGKIjZ5Q47ttI5GmuwfbVw==","shasum":"46245f7f49d0517fc12015a3c51a9df9ab38e43a","tarball":"https://registry.npmjs.org/@condorhero/vuepress-plugin-export-pdf-v2/-/vuepress-plugin-export-pdf-v2-2.0.0.tgz","fileCount":12,"unpackedSize":47600,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDo6xx9CXFUaQkpYvsQM6wgox7cD9KsFBn/JeZq2/Bx9QIhAJa/uUkEb4t5KkU9NHKEYgbUuf24mc72QobgZsAVbXEx"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi4jWCACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrygw//cyE/azoEFvcXH8Son+9ILeDdEyRx9CaSzMdwviYd6Xh6+e1K\r\nGXLYxcAbqzQZOoXOTX4136S+hw6E1QMCNSG8EkmbplZQy41z5nLx1PLeGKL9\r\nvSmIHr+0o1AifXmqmj1IwC7Dt5P4/e0uk3iSXHUP12v//YvTdHFGnw4gXpsQ\r\nm7idMiQRDM/h1ZMHAVUFoWNnTt43UyhRWB1OP2bJUdhkfI7HlCkO0Co/bBv4\r\ny3s2PwjUzNmJoRRPH9eRK7GP1YTz+iBxWn9TxhPZahiLioXWu99Cn+e4ra+l\r\n9jaqYtGD6l2CruCixBnxO8aValKlCGGDSKbDBTOHga1xT3uO8cFgioqkrT77\r\ner3lIIWWz/y0fk1ksE11cXoA5ehv9a7cs+ALuTIH9iY97yaizR14lXsaB54X\r\nr9IHi7nB115C+UMdznY9/YOcngDrmHlhHPCzGy9RYLbRWyfQ5FLAtOuEgsAl\r\nq7elT2ypp914Z5yIdOB/hwFM3HTAZZPe/lETV8oJyV5UDBps24fecZ1QFpIu\r\nfU1u8VZXtxYz0ywfvxTdOa3H3bHj43jyxoNmTMCD+Vniyiy9L46SnWsnkbjw\r\ngt8hqkCjukDjRXv/5JZBZvKGQfnoHVusU/XwDQsF0ZZTZg3WtjAhqdnSEEsL\r\nC8E29OE53UwHOT1UejylzqcpC1MYOzbU+B8=\r\n=jBqF\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"condorhero","email":"love2xinwei@gmail.com"},"directories":{},"maintainers":[{"name":"condorhero","email":"love2xinwei@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vuepress-plugin-export-pdf-v2_2.0.0_1658992001967_0.44656473970726496"},"_hasShrinkwrap":false},"2.0.1":{"name":"@condorhero/vuepress-plugin-export-pdf-v2","type":"module","version":"2.0.1","description":"Vuepress plugin exports PDF 📁.","keywords":["vuepress-plugin-export-pdf-v2","vuepress-plugin-export-pdf","vuepress-plugin","vuepress","plugin"],"license":"MIT","author":{"name":"CondorHero"},"repository":{"type":"git","url":"git+https://github.com/condorheroblog/vuepress-plugin.git","directory":"packages/vuepress-plugin-export-pdf-v2"},"main":"dist/index.cjs","module":"dist/index.mjs","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.cjs","import":"./dist/index.mjs"}},"typesVersions":{"*":{"*":["./dist/*","./dist/index.d.ts"]}},"bin":{"press-export-pdf":"bin/press-export-pdf.mjs"},"bugs":{"url":"https://github.com/condorheroblog/vuepress-plugin/issues"},"engines":{"node":">=14"},"homepage":"https://github.com/condorheroblog/vuepress-plugin#readme","publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"peerDependencies":{"vuepress":">=2.0.0-beta.49 <=2.x"},"dependencies":{"@vuepress/utils":"2.0.0-beta.51","bundle-require":"^3.1.0","cac":"^6.7.14","cli-progress":"^3.11.2","debug":"^4.3.4","envinfo":"^7.8.1","multimatch":"^6.0.0","pdfjs":"^2.4.7","puppeteer":"^18.0.3","semver":"^7.3.7"},"devDependencies":{"@types/cli-progress":"^3.11.0","@types/debug":"^4.1.7","@types/envinfo":"^7.8.1","@types/semver":"^7.3.12","vuepress":"^2.0.0-beta.51"},"scripts":{"build":"unbuild","dev":"esno ./src/commands/press-export-pdf.ts export ./example/vuepress-next/docs"},"_id":"@condorhero/vuepress-plugin-export-pdf-v2@2.0.1","_integrity":"sha512-dcd1XbI0SgzKufWr47SvvlX5eDdD+f02TQsz6P+KU7YJNEOfpV6DmrgFy0j5vTu7Cc3T0xHL3XSD8ayzXyJgWg==","_resolved":"/private/var/folders/7j/t79xy7qs13ld89z06lzx68t00000gn/T/dcb4467452feb6f06908fc1fe3915490/condorhero-vuepress-plugin-export-pdf-v2-2.0.1.tgz","_from":"file:condorhero-vuepress-plugin-export-pdf-v2-2.0.1.tgz","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-dcd1XbI0SgzKufWr47SvvlX5eDdD+f02TQsz6P+KU7YJNEOfpV6DmrgFy0j5vTu7Cc3T0xHL3XSD8ayzXyJgWg==","shasum":"083a9fdd2685beba7ebb5c812fa3c6a98418610d","tarball":"https://registry.npmjs.org/@condorhero/vuepress-plugin-export-pdf-v2/-/vuepress-plugin-export-pdf-v2-2.0.1.tgz","fileCount":12,"unpackedSize":42521,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDwFLOD4StDK0h75fdpQsyumjFM3N2B+3/QJs6YAOMORgIgXe/uwQ5N2gPm8zXsXF//DtSXfzt8vH19h4oH+DF82e8="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjKox2ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqJug//UE8ZZi2OyiyN/1ZyUyi69FcQgMCJZpyHp34bskHbZ034pzz7\r\nYmK2OrymK1N+kJbfYoX5lVHd4ypZFsaqKK4RGjPOi7s76bK3FPNMIJkn2acL\r\ne8vIZkxFL6cFWfWxGk0Sp/O60dYWPQ1y9liH4y0ahrm402/yNfnuH0j/CYa2\r\nostxtcXpOnkksvU/LY+C08l3EVxWCOKEeH0vYoLeX7bX5IDNqKwdlq2iN0Yl\r\nZthcMByXghgcswb8RIy1BRIEC1CDjNU3DkwLbPe3wYnG+SrQzGktXdICs4ZI\r\nY/NoomdJdYBTh8JP7a/++QC26DL8cg91q6Y7fYqnhMFW1Y0RJ8shKIv5uSlz\r\nydJC5IN1wZE1jWxvRr73ckQx1T8G8fved7oRQLsaR7NOx6hIz27h2aWdUCww\r\nO4pC2Gxosm3ppILvQ4Wht5ZiU/T2KG6bNiI//4ISTHOMZOo61MWwRpDqDDHJ\r\n/7Ss1DMWxlYKO8PDPuyD1oWxDbvahd/fWE36wIK1MWD42tA7fGPM38bJ/s3P\r\nUJmjkmGaUPlX7/Kk23xEwJhTV07A8GMwcPg622/V3mvWtOPCz0xf3mkC3Uu0\r\nIGV+Huw4swbqz0S+F3LKpqbzY+1zp6BMnytECg/qjYQ/7+SQ90iVk6qcfhNS\r\n1O3Nu2yqwUmHGnuOzC4Bo5U51aeO5wXqQPk=\r\n=Sm2e\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"condorhero","email":"love2xinwei@gmail.com"},"directories":{},"maintainers":[{"name":"condorhero","email":"love2xinwei@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vuepress-plugin-export-pdf-v2_2.0.1_1663732854146_0.5453366556752097"},"_hasShrinkwrap":false},"3.0.0-beta.1":{"name":"@condorhero/vuepress-plugin-export-pdf-v2","type":"module","version":"3.0.0-beta.1","description":"VuePress plugin exports PDF 📁.","author":{"name":"CondorHero"},"license":"MIT","homepage":"https://github.com/condorheroblog/vuepress-plugin-export-pdf#readme","repository":{"type":"git","url":"git+https://github.com/condorheroblog/vuepress-plugin-export-pdf.git","directory":"packages/vuepress-plugin-export-pdf-v2"},"bugs":{"url":"https://github.com/condorheroblog/vuepress-plugin-export-pdf/issues"},"keywords":["vuepress-plugin-export-pdf-v2","vuepress-plugin-export-pdf","vuepress-plugin","vuepress","plugin"],"exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.cjs","import":"./dist/index.mjs"}},"main":"dist/index.cjs","module":"dist/index.mjs","types":"dist/index.d.ts","typesVersions":{"*":{"*":["./dist/*","./dist/index.d.ts"]}},"bin":{"press-export-pdf":"bin/press-export-pdf.mjs"},"engines":{"node":">=14"},"peerDependencies":{"vuepress":">=2.0.0-beta.49 <=2.x"},"dependencies":{"debug":"^4.3.4","@condorhero/vuepress-plugin-export-pdf-core":"^3.0.0-beta.1"},"devDependencies":{"@types/debug":"^4.1.7","vuepress":"^2.0.0-beta.61"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"scripts":{"build":"unbuild","dev":"esno ./src/commands/press-export-pdf.ts export ./example/vuepress-next/docs"},"_id":"@condorhero/vuepress-plugin-export-pdf-v2@3.0.0-beta.1","_integrity":"sha512-Qg+DWe9M0fdpAGG6u27cTL3k3BakAiIyn4I3HyJwRJYCSaNYImORtZg0ngpq/9rkzkhch+M3PSV1TQuVgfaW3Q==","_resolved":"/private/var/folders/7j/t79xy7qs13ld89z06lzx68t00000gn/T/7ee45d7eee63b03155422101c822d155/condorhero-vuepress-plugin-export-pdf-v2-3.0.0-beta.1.tgz","_from":"file:condorhero-vuepress-plugin-export-pdf-v2-3.0.0-beta.1.tgz","_nodeVersion":"18.12.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-Qg+DWe9M0fdpAGG6u27cTL3k3BakAiIyn4I3HyJwRJYCSaNYImORtZg0ngpq/9rkzkhch+M3PSV1TQuVgfaW3Q==","shasum":"350e739d21e88611402c3f5ce8342aedbc9885d8","tarball":"https://registry.npmjs.org/@condorhero/vuepress-plugin-export-pdf-v2/-/vuepress-plugin-export-pdf-v2-3.0.0-beta.1.tgz","fileCount":12,"unpackedSize":24210,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCzPGLaSliAhrXkFvW6LxlihAs5EM1ae4hNb6mU5MNLdAIhAOfgSth6Ze43UavoZZYZnDI2tTaIynHP1kt9xAEHIA1e"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkTMJaACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqofQ//cD/fBL3L/5j0yNZvGb0G97NSCMcRkxJoXaXu2y53hLDqWRZ/\r\nX2XDh8OmqCp/iM3908eBExrRia6UpHJn5LBWoziddjoczWxmfTMfDN6ZWhIj\r\n0L1PKAvW+EEkMA1oxndPCClyMNLqi8+2JNStgRk/jD4ORYNwwNQkdWjXgCiZ\r\n7auiV6WRnAEnk56bYhllwpYn3TcMKfhRyCzZjeskV6/skSfzoRTwz/fxcaB0\r\nqG0T8y9FdGyOm/sUNh16V2DB49/+zqV6ltN4s6kB2aVrnqujcXK4LdtnLFnV\r\nhKxA2KazZ161/YY0SWCugHs9HTQL/A6ygBLjLN1h8mM9eT6iP4X6i/KvFEIO\r\nPbUsnGbZxAW3BNKRAN9VFZKZhs3qzmy4vG+2yYtLD3xQchd31nSmOjkqIMY3\r\nkqk1625SBd/0LaOgXG6aCAZwTfNPOp5KNVWpvbsi6+shlys5HrkzG1WaF80G\r\nLx7aXk+HZS523Buw50bZur+ahUeBlod+vWRLEsciJq4fylvOeWWYOg67Vmsg\r\nyfRigsLtpYrMRUwsIMP9G8aBlMLJ4JUViKw6O5X99MaYOMU0dF/Uc5MM+KSi\r\n2ds/FmOJCg/x9/G1BSZc93vmYHcE3hiYsOo8iqzz2ax7sHepI1JzvIvTZZbs\r\ngYVfIQvthKHpr4M36EvJxTK6xJaEzqsKUU8=\r\n=ReJH\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"condorhero","email":"love2xinwei@gmail.com"},"directories":{},"maintainers":[{"name":"condorhero","email":"love2xinwei@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vuepress-plugin-export-pdf-v2_3.0.0-beta.1_1682752089983_0.561174546119634"},"_hasShrinkwrap":false},"3.0.0-beta.2":{"name":"@condorhero/vuepress-plugin-export-pdf-v2","type":"module","version":"3.0.0-beta.2","description":"VuePress 2.x plugin exports PDF 📁.","author":{"name":"CondorHero"},"license":"MIT","homepage":"https://github.com/condorheroblog/vuepress-plugin-export-pdf#readme","repository":{"type":"git","url":"git+https://github.com/condorheroblog/vuepress-plugin-export-pdf.git","directory":"packages/vuepress-plugin-export-pdf-v2"},"bugs":{"url":"https://github.com/condorheroblog/vuepress-plugin-export-pdf/issues"},"keywords":["vuepress-plugin-export-pdf-v2","vuepress-plugin-export-pdf","vuepress-plugin","vuepress","plugin"],"exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.cjs","import":"./dist/index.mjs"}},"main":"dist/index.cjs","module":"dist/index.mjs","types":"dist/index.d.ts","typesVersions":{"*":{"*":["./dist/*","./dist/index.d.ts"]}},"bin":{"press-export-pdf":"bin/press-export-pdf.mjs"},"engines":{"node":">=14"},"peerDependencies":{"vuepress":">=2.0.0-beta.49 <=2.x"},"dependencies":{"debug":"^4.3.4","@condorhero/vuepress-plugin-export-pdf-core":"^3.0.0-beta.2"},"devDependencies":{"@types/debug":"^4.1.7","vuepress":"^2.0.0-beta.61"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"scripts":{"build":"unbuild","dev":"esno ./src/commands/press-export-pdf.ts export ./example/vuepress-next/docs"},"_id":"@condorhero/vuepress-plugin-export-pdf-v2@3.0.0-beta.2","_integrity":"sha512-WTu40846S0TBPlO6e94Xg9Pz3Tv8iNKUUkUuDvUWNXSWObSO01pDHJPR2ZlBAy9IXz0ifg40sKNwbZFLPc95ug==","_resolved":"/private/var/folders/7j/t79xy7qs13ld89z06lzx68t00000gn/T/3d22085c2186457a18da23df6edeb681/condorhero-vuepress-plugin-export-pdf-v2-3.0.0-beta.2.tgz","_from":"file:condorhero-vuepress-plugin-export-pdf-v2-3.0.0-beta.2.tgz","_nodeVersion":"18.12.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-WTu40846S0TBPlO6e94Xg9Pz3Tv8iNKUUkUuDvUWNXSWObSO01pDHJPR2ZlBAy9IXz0ifg40sKNwbZFLPc95ug==","shasum":"26dca89f5811e1bc6932d1d7c4f66dc2b7a0e371","tarball":"https://registry.npmjs.org/@condorhero/vuepress-plugin-export-pdf-v2/-/vuepress-plugin-export-pdf-v2-3.0.0-beta.2.tgz","fileCount":12,"unpackedSize":24840,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDYt8/3YK6CPZTeNojs3AGKfWjtHs+gC5j+PmlGdutwoAiEA8lCl4qO5PkHf9wivFzebD3LCcZa2tFVor/6rq7AN/Hw="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkVN9CACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqnVw/+M2M/Lt32E8OKu1iwXhyTX9vWLJZKfW8imxL4yZ0AIuryd2An\r\nB4tLiMKdOzVjrIBkHTboGUAa9GjUNxYYsYA9Ufwh3+wYG6L2Uspmak3E5U1p\r\nX77faazZjH088ekU4cL5+hKwmDXBIcT+O6+4Q8uaCYwFkPzKbTCh+ZAthV/m\r\nKT80kPzzEntPIpQraQl33XxRSR2VapdKjnWIYh5SG4bOBu8wMewkbUHnQBiA\r\nDDDJ/dtALYjzqpE3B8p+bqaN6CjigyeS9dkCDB0QLvaVll2qrQ3iZhXg26Ka\r\nuXuA3TAPAYQBTdHZxOxV2Cf9BAYwoN+QOfvrGA4Q0VA+fBqaiSrmkm97qa3i\r\ncPwE39BnbOZ0vYXvvE/ZPJV61T5xKnSrQcV4y/HuyIKqEy+JOvdenKfnvGk4\r\npPE0elH40E2WF3A5QJNU7qUqe56WVou6Nluje3mFxIZKJQg8EF+P3ylehVuB\r\n+r2lnEucUJRylOToip1rjoBjUO9kI73CU6eWnUMBpLtJw3OA4JKSl4b+sVmO\r\nzR6CXngIoghKale4fKWDHnm69KdA2liDUbo8O9pr/av0azsYkUIZAzY5ZYu8\r\n4Lmd7Vu+zx6N5E796WwnkAtl7dWlcvRvkFB0e0ADdTl6ThHa1tPAlWp/uJ/4\r\nDrqLxML4WOsFrqeMDYqJL+LuMOe4YC06OEE=\r\n=OlaV\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"condorhero","email":"love2xinwei@gmail.com"},"directories":{},"maintainers":[{"name":"condorhero","email":"love2xinwei@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vuepress-plugin-export-pdf-v2_3.0.0-beta.2_1683283778228_0.24897935284746953"},"_hasShrinkwrap":false},"3.0.0-beta.3":{"name":"@condorhero/vuepress-plugin-export-pdf-v2","type":"module","version":"3.0.0-beta.3","description":"VuePress 2.x plugin exports PDF 📁.","author":{"name":"CondorHero"},"license":"MIT","homepage":"https://github.com/condorheroblog/vuepress-plugin-export-pdf#readme","repository":{"type":"git","url":"git+https://github.com/condorheroblog/vuepress-plugin-export-pdf.git","directory":"packages/vuepress-plugin-export-pdf-v2"},"bugs":{"url":"https://github.com/condorheroblog/vuepress-plugin-export-pdf/issues"},"keywords":["vuepress-plugin-export-pdf-v2","vuepress-plugin-export-pdf","vuepress-plugin","vuepress","plugin"],"exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.cjs","import":"./dist/index.mjs"}},"main":"dist/index.cjs","module":"dist/index.mjs","types":"dist/index.d.ts","typesVersions":{"*":{"*":["./dist/*","./dist/index.d.ts"]}},"bin":{"press-export-pdf":"bin/press-export-pdf.mjs"},"engines":{"node":">=14"},"peerDependencies":{"vuepress":">=2.0.0-beta.49 <=2.x"},"dependencies":{"debug":"^4.3.4","@condorhero/vuepress-plugin-export-pdf-core":"^3.0.0-beta.3"},"devDependencies":{"@types/debug":"^4.1.7","vuepress":"^2.0.0-beta.61"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"scripts":{"build":"unbuild","dev":"esno ./src/commands/press-export-pdf.ts export ./example/vuepress-next/docs"},"_id":"@condorhero/vuepress-plugin-export-pdf-v2@3.0.0-beta.3","_integrity":"sha512-B1qgvViJMIBWdYlgukXr6jNGfis02IaLBv+EQOjLc0+H8h9b3SdLLmIf9xZN/87RUIv85nazWXTr7kG1Cov41w==","_resolved":"/private/var/folders/7j/t79xy7qs13ld89z06lzx68t00000gn/T/87f9c4ef0fb1e37b602873dfb7154586/condorhero-vuepress-plugin-export-pdf-v2-3.0.0-beta.3.tgz","_from":"file:condorhero-vuepress-plugin-export-pdf-v2-3.0.0-beta.3.tgz","_nodeVersion":"18.12.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-B1qgvViJMIBWdYlgukXr6jNGfis02IaLBv+EQOjLc0+H8h9b3SdLLmIf9xZN/87RUIv85nazWXTr7kG1Cov41w==","shasum":"6d30596b0545615218df2ef645ef4e6fe478c398","tarball":"https://registry.npmjs.org/@condorhero/vuepress-plugin-export-pdf-v2/-/vuepress-plugin-export-pdf-v2-3.0.0-beta.3.tgz","fileCount":12,"unpackedSize":25672,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB95hLb43W6W1dszvn98HN9eKdW6QVDgruJs3iXxlpuaAiA2u935PlnL1gNsBZ6Tcby6i+XqPHBcFG6FEOQNlz5leA=="}]},"_npmUser":{"name":"condorhero","email":"love2xinwei@gmail.com"},"directories":{},"maintainers":[{"name":"condorhero","email":"love2xinwei@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vuepress-plugin-export-pdf-v2_3.0.0-beta.3_1683376614755_0.6013984095656433"},"_hasShrinkwrap":false},"3.0.0":{"name":"@condorhero/vuepress-plugin-export-pdf-v2","type":"module","version":"3.0.0","description":"VuePress 2.x plugin exports a PDF 📁.","author":{"name":"CondorHero"},"license":"MIT","homepage":"https://github.com/condorheroblog/vuepress-plugin-export-pdf#readme","repository":{"type":"git","url":"git+https://github.com/condorheroblog/vuepress-plugin-export-pdf.git","directory":"packages/vuepress-plugin-export-pdf-v2"},"bugs":{"url":"https://github.com/condorheroblog/vuepress-plugin-export-pdf/issues"},"keywords":["vuepress-plugin-export-pdf-v2","vuepress-plugin-export-pdf","vuepress-plugin","vuepress","plugin"],"exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.cjs","import":"./dist/index.mjs"}},"main":"dist/index.cjs","module":"dist/index.mjs","types":"dist/index.d.ts","typesVersions":{"*":{"*":["./dist/*","./dist/index.d.ts"]}},"bin":{"press-export-pdf":"bin/press-export-pdf.mjs"},"engines":{"node":">=14"},"peerDependencies":{"vuepress":">=2.0.0-beta.49 <=2.x"},"dependencies":{"debug":"^4.3.4","@condorhero/vuepress-plugin-export-pdf-core":"^3.0.0"},"devDependencies":{"@types/debug":"^4.1.7","vuepress":"^2.0.0-beta.61"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"scripts":{"build":"unbuild","dev":"esno ./src/commands/press-export-pdf.ts export ./example/vuepress-next/docs"},"_id":"@condorhero/vuepress-plugin-export-pdf-v2@3.0.0","_integrity":"sha512-6pj69kCaHUYTInZ3mIGlxABbKGGw+8VLJzKtKOqUziJ7cl0Sdvm8I7bIe0vbQXRQJ3JIgsG7vrKwPCPhebdRgw==","_resolved":"/private/var/folders/7j/t79xy7qs13ld89z06lzx68t00000gn/T/26a8c8fd0bad1371d0dbdd16218b03d1/condorhero-vuepress-plugin-export-pdf-v2-3.0.0.tgz","_from":"file:condorhero-vuepress-plugin-export-pdf-v2-3.0.0.tgz","_nodeVersion":"18.12.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-6pj69kCaHUYTInZ3mIGlxABbKGGw+8VLJzKtKOqUziJ7cl0Sdvm8I7bIe0vbQXRQJ3JIgsG7vrKwPCPhebdRgw==","shasum":"833e7841a5845b62b0021b3c5dd53b996bc5a8f7","tarball":"https://registry.npmjs.org/@condorhero/vuepress-plugin-export-pdf-v2/-/vuepress-plugin-export-pdf-v2-3.0.0.tgz","fileCount":12,"unpackedSize":25467,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDb9u95Olvse+Jv+eAwTyuEd20gRGM9j/DoTA9UGyLaWQIhAKyd8fM7onOrY8wypv0sOd21roVLCKu0Z4ACUHhvfTPl"}]},"_npmUser":{"name":"condorhero","email":"love2xinwei@gmail.com"},"directories":{},"maintainers":[{"name":"condorhero","email":"love2xinwei@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vuepress-plugin-export-pdf-v2_3.0.0_1683710746129_0.053341192022453354"},"_hasShrinkwrap":false},"3.0.1":{"name":"@condorhero/vuepress-plugin-export-pdf-v2","type":"module","version":"3.0.1","description":"VuePress 2.x plugin exports a PDF 📁.","author":{"name":"CondorHero"},"license":"MIT","homepage":"https://github.com/condorheroblog/vuepress-plugin-export-pdf#readme","repository":{"type":"git","url":"git+https://github.com/condorheroblog/vuepress-plugin-export-pdf.git","directory":"packages/vuepress-plugin-export-pdf-v2"},"bugs":{"url":"https://github.com/condorheroblog/vuepress-plugin-export-pdf/issues"},"keywords":["vuepress-plugin-export-pdf-v2","vuepress-plugin-export-pdf","vuepress-plugin","vuepress","plugin"],"exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.cjs","import":"./dist/index.mjs"}},"main":"dist/index.cjs","module":"dist/index.mjs","types":"dist/index.d.ts","typesVersions":{"*":{"*":["./dist/*","./dist/index.d.ts"]}},"bin":{"press-export-pdf":"bin/press-export-pdf.mjs"},"engines":{"node":">=14"},"peerDependencies":{"vuepress":">=2.0.0-beta.49 <=2.x"},"dependencies":{"debug":"^4.3.4","@condorhero/vuepress-plugin-export-pdf-core":"^3.0.1"},"devDependencies":{"@types/debug":"^4.1.7","vuepress":"^2.0.0-beta.61"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"scripts":{"build":"unbuild","dev":"esno ./src/commands/press-export-pdf.ts export ./example/vuepress-next/docs"},"_id":"@condorhero/vuepress-plugin-export-pdf-v2@3.0.1","_integrity":"sha512-Z0S0jeNOYkgVQtCXu4LHzIkj6vpcaxsex9+S6G37QB635eaA5oU3dnzF4tv1qGEgni+YmlH40P2SfSxiTgrgNg==","_resolved":"/private/var/folders/7j/t79xy7qs13ld89z06lzx68t00000gn/T/cabdb375d2a2c00912008dd9829f173a/condorhero-vuepress-plugin-export-pdf-v2-3.0.1.tgz","_from":"file:condorhero-vuepress-plugin-export-pdf-v2-3.0.1.tgz","_nodeVersion":"18.12.0","_npmVersion":"8.19.2","dist":{"integrity":"sha512-Z0S0jeNOYkgVQtCXu4LHzIkj6vpcaxsex9+S6G37QB635eaA5oU3dnzF4tv1qGEgni+YmlH40P2SfSxiTgrgNg==","shasum":"e0a3f136e7d5a5be38102efa97e8edd5f687fc0c","tarball":"https://registry.npmjs.org/@condorhero/vuepress-plugin-export-pdf-v2/-/vuepress-plugin-export-pdf-v2-3.0.1.tgz","fileCount":12,"unpackedSize":25467,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCTRR1G4NAnr3foyqrlljfqwyIrf15PpgrO+l1fU1UkJgIgFXlCrlM3JxIFri3FCewEHzq1BfaKBZEHUz4UjtSB1bI="}]},"_npmUser":{"name":"condorhero","email":"love2xinwei@gmail.com"},"directories":{},"maintainers":[{"name":"condorhero","email":"love2xinwei@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vuepress-plugin-export-pdf-v2_3.0.1_1683778219164_0.23277773114893296"},"_hasShrinkwrap":false},"3.0.2":{"name":"@condorhero/vuepress-plugin-export-pdf-v2","type":"module","version":"3.0.2","description":"VuePress 2.x plugin exports a PDF 📁.","author":{"name":"CondorHero"},"license":"MIT","homepage":"https://github.com/condorheroblog/vuepress-plugin-export-pdf#readme","repository":{"type":"git","url":"git+https://github.com/condorheroblog/vuepress-plugin-export-pdf.git","directory":"packages/vuepress-plugin-export-pdf-v2"},"bugs":{"url":"https://github.com/condorheroblog/vuepress-plugin-export-pdf/issues"},"keywords":["vuepress-plugin-export-pdf-v2","vuepress-plugin-export-pdf","vuepress-plugin","vuepress","plugin"],"exports":{".":{"types":"./dist/index.d.ts","require":"./dist/index.cjs","import":"./dist/index.mjs"}},"main":"dist/index.cjs","module":"dist/index.mjs","types":"dist/index.d.ts","typesVersions":{"*":{"*":["./dist/*","./dist/index.d.ts"]}},"bin":{"press-export-pdf":"bin/press-export-pdf.mjs"},"engines":{"node":">=14"},"peerDependencies":{"vuepress":">=2.0.0-beta.49 <=2.x"},"dependencies":{"debug":"^4.3.4","@condorhero/vuepress-plugin-export-pdf-core":"^3.0.2"},"devDependencies":{"@types/debug":"^4.1.8","vuepress":"^2.0.0-beta.61"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"scripts":{"build":"unbuild","dev":"esno ./src/commands/press-export-pdf.ts export ./example/vuepress-next/docs"},"_id":"@condorhero/vuepress-plugin-export-pdf-v2@3.0.2","_integrity":"sha512-Hd2oG9pack+I4lMPmrA4LG3OhxJ66qctRZm86/3DZ3FIFYKIvCxdnyO6E8J1WrVOHO+AbJO16c+6W7PBciadJA==","_resolved":"/private/var/folders/7j/t79xy7qs13ld89z06lzx68t00000gn/T/e7c0d7f75cf83bf340ad2ddbfc51deee/condorhero-vuepress-plugin-export-pdf-v2-3.0.2.tgz","_from":"file:condorhero-vuepress-plugin-export-pdf-v2-3.0.2.tgz","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-Hd2oG9pack+I4lMPmrA4LG3OhxJ66qctRZm86/3DZ3FIFYKIvCxdnyO6E8J1WrVOHO+AbJO16c+6W7PBciadJA==","shasum":"3983f5c6994aacfb18a49bab0111c2cca79dea53","tarball":"https://registry.npmjs.org/@condorhero/vuepress-plugin-export-pdf-v2/-/vuepress-plugin-export-pdf-v2-3.0.2.tgz","fileCount":12,"unpackedSize":27354,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCAQ6zmwZRt/dOTL207uRzzhWro1Uly7BREhf3nf8DaagIgAt2ntOECZiM/HXyELEixNX2R1g1okFB5pUmUlv+Y6Kw="}]},"_npmUser":{"name":"condorhero","email":"love2xinwei@gmail.com"},"directories":{},"maintainers":[{"name":"condorhero","email":"love2xinwei@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vuepress-plugin-export-pdf-v2_3.0.2_1688456960255_0.06093845353719618"},"_hasShrinkwrap":false},"3.0.3":{"name":"@condorhero/vuepress-plugin-export-pdf-v2","type":"module","version":"3.0.3","description":"VuePress 2.x plugin exports a PDF 📁.","author":{"name":"CondorHero"},"license":"MIT","homepage":"https://github.com/condorheroblog/vuepress-plugin-export-pdf#readme","repository":{"type":"git","url":"git+https://github.com/condorheroblog/vuepress-plugin-export-pdf.git","directory":"packages/vuepress-plugin-export-pdf-v2"},"bugs":{"url":"https://github.com/condorheroblog/vuepress-plugin-export-pdf/issues"},"keywords":["vuepress-plugin-export-pdf-v2","vuepress-plugin-export-pdf","vuepress-plugin","vuepress","plugin"],"exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs"}},"main":"dist/index.cjs","module":"dist/index.mjs","types":"dist/index.d.ts","typesVersions":{"*":{"*":["./dist/*","./dist/index.d.ts"]}},"bin":{"press-export-pdf":"bin/press-export-pdf.mjs"},"engines":{"node":">=14"},"peerDependencies":{"vuepress":">=2.0.0-beta.49 <=2.x"},"dependencies":{"debug":"^4.3.4","@condorhero/vuepress-plugin-export-pdf-core":"^3.0.3"},"devDependencies":{"@types/debug":"^4.1.12","vuepress":"^2.0.0-rc.9"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"scripts":{"build":"unbuild","dev":"esno ./src/commands/press-export-pdf.ts export ./example/vuepress-next/docs"},"_id":"@condorhero/vuepress-plugin-export-pdf-v2@3.0.3","_integrity":"sha512-ho40tt95ojOAU362UafWtjMKZd15hDtAMFtuPq8CTQAIkYqlvLNvwHjH1vSsY062DTsZuHsi/2OjGKfB6EKtAw==","_resolved":"C:\\Users\\Surface\\AppData\\Local\\Temp\\482a6194d13b5b28abe772c398f354a2\\condorhero-vuepress-plugin-export-pdf-v2-3.0.3.tgz","_from":"file:condorhero-vuepress-plugin-export-pdf-v2-3.0.3.tgz","_nodeVersion":"22.1.0","_npmVersion":"10.7.0","dist":{"integrity":"sha512-ho40tt95ojOAU362UafWtjMKZd15hDtAMFtuPq8CTQAIkYqlvLNvwHjH1vSsY062DTsZuHsi/2OjGKfB6EKtAw==","shasum":"5d105f846735ea45ab624965adc0b17a7afc7a1e","tarball":"https://registry.npmjs.org/@condorhero/vuepress-plugin-export-pdf-v2/-/vuepress-plugin-export-pdf-v2-3.0.3.tgz","fileCount":16,"unpackedSize":31015,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGicD+p+XONm4XQteoGgd/RS8KhF7mJ3+q3gnHgSuohuAiBoPb/Rs4MsXALwn5R1ZsIBDUWI8Bi+G84h9OZfkX4IqA=="}]},"_npmUser":{"name":"condorhero","email":"love2xinwei@gmail.com"},"directories":{},"maintainers":[{"name":"condorhero","email":"love2xinwei@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vuepress-plugin-export-pdf-v2_3.0.3_1715442776705_0.8381086360959775"},"_hasShrinkwrap":false}},"time":{"created":"2022-07-28T07:06:41.894Z","2.0.0":"2022-07-28T07:06:42.100Z","modified":"2024-05-11T15:52:57.033Z","2.0.1":"2022-09-21T04:00:54.324Z","3.0.0-beta.1":"2023-04-29T07:08:10.152Z","3.0.0-beta.2":"2023-05-05T10:49:38.403Z","3.0.0-beta.3":"2023-05-06T12:36:54.955Z","3.0.0":"2023-05-10T09:25:46.318Z","3.0.1":"2023-05-11T04:10:19.337Z","3.0.2":"2023-07-04T07:49:20.458Z","3.0.3":"2024-05-11T15:52:56.852Z"},"maintainers":[{"name":"condorhero","email":"love2xinwei@gmail.com"}],"description":"VuePress 2.x plugin exports a PDF 📁.","homepage":"https://github.com/condorheroblog/vuepress-plugin-export-pdf#readme","keywords":["vuepress-plugin-export-pdf-v2","vuepress-plugin-export-pdf","vuepress-plugin","vuepress","plugin"],"repository":{"type":"git","url":"git+https://github.com/condorheroblog/vuepress-plugin-export-pdf.git","directory":"packages/vuepress-plugin-export-pdf-v2"},"author":{"name":"CondorHero"},"bugs":{"url":"https://github.com/condorheroblog/vuepress-plugin-export-pdf/issues"},"license":"MIT","readme":"# @condorhero/vuepress-plugin-export-pdf-v2\r\n\r\n`@condorhero/vuepress-plugin-export-pdf-v2` is a VuePress 2.x plugin that allows you to export your sites to a PDF file with **outlines or bookmarks**.\r\n\r\n<p align=\"left\">\r\n  <a href=\"https://www.npmjs.com/package/@condorhero/vuepress-plugin-export-pdf-v2\" target=\"__blank\">\r\n    <img src=\"https://img.shields.io/npm/v/@condorhero/vuepress-plugin-export-pdf-v2.svg?color=a1b858\" alt=\"NPM version\">\r\n  </a>\r\n  <a href=\"https://www.npmjs.com/package/@condorhero/vuepress-plugin-export-pdf-v2\" target=\"__blank\">\r\n    <img alt=\"NPM Downloads\" src=\"https://img.shields.io/npm/dm/@condorhero/vuepress-plugin-export-pdf-v2.svg?color=50a36f\">\r\n  </a>\r\n  <a href=\"https://github.com/condorheroblog/vuepress-plugin-export-pdf\" target=\"__blank\">\r\n    <img alt=\"GitHub stars\" src=\"https://img.shields.io/github/stars/condorheroblog/vuepress-plugin-export-pdf?style=social\">\r\n  </a>\r\n</p>\r\n\r\n## Related\r\n\r\n- [vitepress-export-pdf](https://github.com/condorheroblog/vitepress-export-pdf)\r\n- [@condorhero/vuepress-plugin-export-pdf-v1](https://github.com/condorheroblog/vuepress-plugin-export-pdf/blob/main/packages/vuepress-plugin-export-pdf-v1/README.md)\r\n\r\n## Installation\r\n\r\n```sh\r\nnpm install @condorhero/vuepress-plugin-export-pdf-v2 -D\r\n```\r\nthen add script to your `package.json`:\r\n\r\n```json\r\n{\r\n  \"scripts\": {\r\n    \"export-pdf\": \"press-export-pdf export [path/to/your/docs]\"\r\n  }\r\n}\r\n```\r\n\r\nThen run:\r\n\r\n```sh\r\nnpm run export-pdf\r\n```\r\n\r\n## `press-export-pdf` Command Options\r\n\r\nThe package provides the `press-export-pdf` command with the following command line options:\r\n\r\n![vuepress-plugin-export-pdf-v2.svg](https://github.com/condorheroblog/vuepress-plugin-export-pdf/raw/main/packages/vuepress-plugin-export-pdf-v2/assets/vuepress-plugin-export-pdf-v2.svg)\r\n\r\n- `export [sourceDir]`: Export your site to a PDF file\r\n  - `-c, --config <config>`: Set path to config file\r\n  - `--outFile <outFile>`: Name of output file\r\n  - `--outDir <outDir>`: Directory of output files\r\n  - `--pdfOutlines <pdfOutlines>`: Keep PDF outlines/bookmarks([**Node >= 18.5.0**](https://github.com/condorheroblog/vuepress-plugin-export-pdf/tree/v3.0.1/packages/vuepress-plugin-export-pdf-v2#qa))\r\n  - `--urlOrigin <urlOrigin>`: Change the origin of the print url(Option `displayHeaderFooter` of `pdfOptions` is true)\r\n  - `--debug`: Enable debug mode\r\n- `info`: Display environment information\r\n- `--help`: Display help information\r\n- `--version`: Display version information\r\n\r\n## Config File Options\r\n\r\nYou can create a new config file, we support the following files:\r\n\r\n- `vuepress-pdf.config.ts`\r\n- `vuepress-pdf.config.js`\r\n- `vuepress-pdf.config.cjs`\r\n- `vuepress-pdf.config.mjs`\r\n- `.vuepress/vuepress-pdf.config.ts`\r\n- `.vuepress/vuepress-pdf.config.js`\r\n- `.vuepress/vuepress-pdf.config.cjs`\r\n- `.vuepress/vuepress-pdf.config.mjs`\r\n\r\nIn addition, you can also customize the configuration file through `--config` or `-c`.\r\n\r\nIt is recommended to use TS(`.vuepress/vuepress-pdf.config.ts`) files, which are easy to manage and have **friendly code prompts**.\r\n\r\nex:\r\n\r\n```ts\r\n// .vuepress/vuepress-pdf.config.ts\r\nimport { defineUserConfig } from '@condorhero/vuepress-plugin-export-pdf-v2'\r\n\r\nexport default defineUserConfig({\r\n  theme: '@vuepress/theme-default',\r\n})\r\n```\r\n\r\nif you want to use JS files, **you can leverage your IDE's intellisense with jsdoc type hints**:\r\n\r\n```js\r\n/**\r\n * @type {import('@condorhero/vuepress-plugin-export-pdf-v2').UserConfig}\r\n */\r\nconst config = {\r\n  // ...\r\n}\r\n\r\nexport default config\r\n```\r\n\r\nconfig options:\r\n\r\n- `theme` - theme name (default `@vuepress/default`)\r\n- `bundler` - VuePress bundler name (default `vuepress-vite`)\r\n- `sorter` - function for changing pages order (default `undefined`)\r\n- `outFile` - name of output file (default `vuepress-YYMMDD-HHmmss.pdf`)\r\n- `outDir` - Directory of output files (default `package.json` file exists in directory)\r\n- `routePatterns` - Specify the patterns of files you want to be exported. The patterns are relative to the source directory (default `[\"/**\", \"!/404.html\"]`).Patterns to match Route path using [multimatch](https://github.com/sindresorhus/multimatch)\r\n- `puppeteerLaunchOptions` - [Puppeteer launch options object](https://github.com/puppeteer/puppeteer/blob/main/docs/api/puppeteer.puppeteerlaunchoptions.md)\r\n- `pdfOptions` - [Valid options to configure PDF generation via Page.pdf()](https://github.com/puppeteer/puppeteer/blob/main/docs/api/puppeteer.pdfoptions.md) (default `{ format: 'A4 }`), **`pageNumber` and `totalPages` of `headerTemplate` and `footerTemplate` cannot be used because of [this reason](https://github.com/condorheroblog/vitepress-export-pdf/issues/5)**\r\n- `pdfOutlines` - Keep PDF outlines/bookmarks(default `true`)\r\n- `urlOrigin`: Change the origin of the print url(Option `displayHeaderFooter` of `pdfOptions` is true) - ([How do I change the URL point to the localhost](https://github.com/condorheroblog/vuepress-plugin-export-pdf/issues/5))\r\n- `outlineContainerSelector`: Specify an outline container selector.\r\n\r\n## Examples\r\n\r\nA usable example of quick start [click here](https://github.com/condorheroblog/vuepress-plugin-export-pdf/tree/main/packages/vuepress-plugin-export-pdf-v2/example/vuepress-next).\r\n\r\n### Order of PDF\r\n\r\n`console.log` all the routes in the sort function and assign them to the variable `routeOrder` as a value. You can adjust the order of printing in the array `routeOrder`.\r\n\r\n```ts\r\nimport { defineUserConfig } from 'vitepress-export-pdf'\r\nconst routeOrder = [\r\n  '/index.html',\r\n  '/guide/what-is-vitepress.html',\r\n  '/guide/getting-started.html',\r\n  '/guide/configuration.html',\r\n  // ...\r\n]\r\nexport default defineUserConfig({\r\n  sorter: (pageA, pageB) => {\r\n    const aIndex = routeOrder.findIndex(route => route === pageA.path)\r\n    const bIndex = routeOrder.findIndex(route => route === pageB.path)\r\n    return aIndex - bIndex\r\n  },\r\n})\r\n```\r\n\r\n### Discard your outlines/bookmarks\r\n\r\n`.vuepress/vuepress-pdf.config.ts` add `pdfOutlines`:\r\n\r\n```ts\r\nexport default defineUserConfig({\r\n  pdfOutlines: false,\r\n})\r\n```\r\n\r\n### Don't export homepage\r\n\r\n`.vuepress/vuepress-pdf.config.ts` add `routePatterns`:\r\n\r\n```ts\r\nexport default defineUserConfig({\r\n  routePatterns: ['!/'],\r\n})\r\n```\r\n\r\n> Note: `!` at the beginning of a pattern will negate the match\r\n\r\n### PDF print style\r\n\r\nBy default, `A4` paper is used for printing, The size of A4 paper is (8.27in x 11.7in), One inch is equal to ninety-six pixels: `1 in = 96 pixel (X)` ,the inch unit of A4 is converted to (793.92px x 1123.2px).\r\n\r\nThe layout of VuePress itself is responsive, which should meet your needs. If you change the size of the printing paper or don't want some styles on the website to be input into PDF, you need to simply write some CSS styles.\r\n\r\nIt is recommended that you change it in the [global style](https://v2.vuepress.vuejs.org/reference/default-theme/styles.html) of VuePress(`.vuepress/styles/index.scss`), use the `print` of `@media` to control CSS style.\r\n\r\nfor example:\r\n\r\n```css\r\n@media print {\r\n  .navbar,\r\n  .sidebar,\r\n  .sidebar-mask {\r\n    display: none;\r\n  }\r\n  .page {\r\n    padding-left: inherit;\r\n  }\r\n}\r\n```\r\n\r\n![print-style.png](https://github.com/condorheroblog/vuepress-plugin-export-pdf/raw/main/packages/vuepress-plugin-export-pdf-v2/assets/print-style.png)\r\n\r\n## Contributing\r\n\r\n1. Fork it!\r\n2. Create your feature branch: git checkout -b my-new-feature\r\n3. Commit your changes: git commit -am 'Add some feature'\r\n4. Push to the branch: git push origin my-new-feature\r\n5. Submit a pull request :D\r\n\r\n## Report Bug\r\n\r\nrun `vuepress info` or `press-export-pdf info` Shows debugging information about the local environment.\r\n\r\n## License\r\n\r\n[MIT](https://github.com/condorheroblog/vuepress-plugin-export-pdf/blob/main/LICENSE)\r\n","readmeFilename":"README.md"}