{"_id":"html-pdf-node","_rev":"9-eae7762c825fe59641af7846913a2374","name":"html-pdf-node","dist-tags":{"latest":"1.0.8"},"versions":{"1.0.0":{"name":"html-pdf-node","version":"1.0.0","description":"Convert any html content or html page to PDF","main":"index.js","directories":{"test":"tests"},"scripts":{"test":"mocha tests/*.js -R spec --ui bdd --timeout 5000"},"author":{"name":"mrafiqk"},"license":"ISC","dependencies":{"bluebird":"^3.7.2","handlebars":"^4.7.6","puppeteer":"^5.1.0"},"devDependencies":{"chai":"^4.2.0","mocha":"^8.0.1"},"keywords":["html","pdf","nodejs","puppeteer","handlebars"],"repository":{"type":"git","url":"git+https://github.com/mrafiqk/html-pdf-node.git"},"bugs":{"url":"https://github.com/mrafiqk/html-pdf-node/issues"},"homepage":"https://github.com/mrafiqk/html-pdf-node#readme","gitHead":"f499cd33b90732ba441d8d7b19654092b420de04","_id":"html-pdf-node@1.0.0","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-F+J40XRUZDSavntVCyUiDyfJqN9pNb7iP9fswcsEnt2tjquNFd4bebAKJ2YNGM849RW26qEicc8u+hHEOpKbWw==","shasum":"434862aa4b144e9103320ecdecf36f7b114d14ef","tarball":"https://registry.npmjs.org/html-pdf-node/-/html-pdf-node-1.0.0.tgz","fileCount":6,"unpackedSize":46317,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfFZ8JCRA9TVsSAnZWagAAyt4QAKQFACTq4IwcjVxY8xdW\nj6si5OaFC4F79f/3dhxLvhDKEp1LpR90XgPTj+p6mRc8/03/x/SCnN3+C2VT\n8T0RXVoVzo8E29NZ3sNLyPJA1P+pyL7YHy2gQYqxPR2QDj25FGnjq9V4tof6\nSAIgCSW2JqbhT+6qN8VVgLWTqgzuzamqm5hQXwSgjgGTfaRq6jhQ5ZIvUNS5\n0tpPmwcnACYA70mRLwfqxjjFnOwkvmlFX//aR+p9FroTr2grxZ1F9CQyZ8S0\n21XAQBw75acCCE+YT5+K5cF6AaN4ZAQrnJErqMpEv2wq3Tfwfogp7ZRJW7vC\nBlJPAbfVim9UJKSdeZ4VrhhaIYWjKB8UYtlsvUFdvIf2z8bc+X5mP+DE8poF\nn3AzApOkwiS2Zs3A2KlXacPgMlHo8ZhdRxORn9776fWa6exbDuEaKBXnTLmh\n+vDLLq+pKbvGxOCq8cPx88TkL91iO0TTLcxjRggdgAHpxSjmF9RIrDfRW3o6\n8RbNfk1v21vNmA5wV9Xm16+LMDVtA/K+GjchUg4ex0Ni3ci7zv127YBev+Ji\nVa84zBr4rhVRSUJODC7gMShc3FL9d5cOFe9VC8QN73tQYOWEYBt8ipLlnDNq\n5xeO1O9u3SGvL4imA1uQlwz6CxcEXxKrGZMFG6s5OtGlMMimWo6OEsuB2qhK\n6iKW\r\n=L3Ke\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDJdgvTibH/rwxnmxVdkdD24pZLYORp5miFJtmD++ZZVQIgUvStfhViE/pFlcxEH885/wjJDHhncT6KgWL4NnCqSDk="}]},"maintainers":[{"name":"mrafiqk","email":"mohammedrafiq.p@gmail.com"}],"_npmUser":{"name":"mrafiqk","email":"mohammedrafiq.p@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/html-pdf-node_1.0.0_1595252489191_0.27371818128417824"},"_hasShrinkwrap":false},"1.0.1":{"name":"html-pdf-node","version":"1.0.1","description":"Convert any html content or html page to PDF","main":"index.js","directories":{"test":"tests"},"scripts":{"test":"mocha tests/*.js -R spec --ui bdd --timeout 5000"},"author":{"name":"mrafiqk"},"license":"ISC","dependencies":{"bluebird":"^3.7.2","handlebars":"^4.7.6","puppeteer":"^5.1.0"},"devDependencies":{"chai":"^4.2.0","mocha":"^8.0.1"},"keywords":["html","pdf","nodejs","puppeteer","handlebars"],"repository":{"type":"git","url":"git+https://github.com/mrafiqk/html-pdf-node.git"},"bugs":{"url":"https://github.com/mrafiqk/html-pdf-node/issues"},"homepage":"https://github.com/mrafiqk/html-pdf-node#readme","gitHead":"0aeda1f7da9bda794c86f7514d98751449f00c76","_id":"html-pdf-node@1.0.1","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-KUAeVPMavl7SfVEN4yZ5ld3jNCUK547PUEFhAwb1oGZlLPCxixllnSLDN5T3ouwMyMybuE65+wFP8DsAnYieyA==","shasum":"e3e28dd9f0253d3d8a5bec8e3d16e9ed20e4bd8a","tarball":"https://registry.npmjs.org/html-pdf-node/-/html-pdf-node-1.0.1.tgz","fileCount":6,"unpackedSize":46318,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfFaBYCRA9TVsSAnZWagAAjpAP+wQPS5kiS/ZFuxklXK6r\nl9BhOEOIoDvxPU8FI1wem18FY0k1zCvbAv9LdTPeePvidBQZWDF54NvqqsuE\nVtHb4tWXVoWWKkZY3OlGuKwll+hu5mvFp6WHUsM2hAQFdXhJr6Mok8GTWgxI\nU/PQCAxE+5c4wiMedwyjF+V0Eb9/86PKTMf/ZcCVpKKr/vCodc+yN1VkYvLz\nHsE0HEKXJLVmC/QCoEcmDydkbzb9/hDStuanljhiMyo3OczxR5gkKmmYqeJS\nIS3ur1E4FW572NZKjzV4kGF0VkUi8XyaWokoRxf8MG8tnxUwm1xCnmm/hH8T\n7fdL9s1O6GYLycQtWoeCJltiMiomU7Kont+c9oKjV3WPid0dWjRA+U1q2Lfl\nw77LATtUwPH3PTWj/1GUsgdB0uKHpJAr8/Kr2PYs5aZsqAUFq9/WJO0j1dAk\n2Jmks2FmtwD7yztcKLgEdHboIR5/DFXkyu+x+xqkkBfgnOV0315cp7TehLuH\nVAi2wPNJxtDnp8qupVNm3NL2u6oc+quemqwfKEjM7+WG6Tmq5asbu5pRcQXo\nKOms6GhWvGqpTaULQvdhTKY/iOikJxx9sommlJvgxJM4srawYSDTp3s2isKh\nKadEAmRrisSf8kuk/QRSICoWBDv7OCRZF8Kup4bBFRCZWk9cR25b8M3rnoFK\nDMWJ\r\n=VFWq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH/zoH5o8sPdd0LGuGlt+QqkIrk99WZ+uMwphgc8JRR/AiBnsr5RUiW8MLgLjqKf62EieePFOsnu1qVjYQBHC+gHdg=="}]},"maintainers":[{"name":"mrafiqk","email":"mohammedrafiq.p@gmail.com"}],"_npmUser":{"name":"mrafiqk","email":"mohammedrafiq.p@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/html-pdf-node_1.0.1_1595252824611_0.3943018708404682"},"_hasShrinkwrap":false},"1.0.2":{"name":"html-pdf-node","version":"1.0.2","description":"Convert any html content or html page to PDF","main":"index.js","directories":{"test":"tests"},"scripts":{"test":"mocha tests/*.js -R spec --ui bdd --timeout 5000"},"author":{"name":"mrafiqk"},"license":"ISC","dependencies":{"bluebird":"^3.7.2","handlebars":"^4.7.6","puppeteer":"^5.1.0"},"devDependencies":{"chai":"^4.2.0","mocha":"^8.0.1"},"keywords":["html","pdf","nodejs","puppeteer","handlebars"],"repository":{"type":"git","url":"git+https://github.com/mrafiqk/html-pdf-node.git"},"bugs":{"url":"https://github.com/mrafiqk/html-pdf-node/issues"},"homepage":"https://github.com/mrafiqk/html-pdf-node#readme","gitHead":"5c40607816df3e52b424ffe4cdb15f2e8f846d33","_id":"html-pdf-node@1.0.2","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-7Y7JDL8P5jnszLLxJD1EJggND8qCh3ogI68os5kP/1XsZ26HOqJ0X+83gcFgqD+Edh+Cw+9i8xWb1pHdHGllVw==","shasum":"a13d4182aa69e1bf91553171439972848edc33e2","tarball":"https://registry.npmjs.org/html-pdf-node/-/html-pdf-node-1.0.2.tgz","fileCount":6,"unpackedSize":46398,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfFu4lCRA9TVsSAnZWagAAXVAP/3WWao6ySAUh3jE6fNxY\nwPuWjleqs/nLDh2PPlfe0rvnzGzv3QJZJvbWggJbn7RV1vmytAo7/vdi/6/n\nxKv736DZIJuehUnMBgO1adfbraY9KFC5Y4pnifKgSNuV7jk0nbW5ph44BBIX\n9iIaMo5auQXfQ8p9dfo8R96+uwC+lUQ4TMXTJd+ynVk0HMgvyPYxRDHfDOmE\nB4mmFlF8Fz6Y78nnk6qGf00HHIVyVn43ve+gNh0/4QCvhloEW7ZWvoMZv3ri\ndns1xUH84Fl4Bp4FWysJ3MUD0AQDIqVKuZ2mxvP9K04xACv+VMMDttY5Zvzs\nxkK5CgU5LW/h0MnQN4m01zBoLTnDu30Ir96IxgYSafE1FJ6Bk34FVLblAW08\ngnATJc4CqXW8p2yueaNXLhMVoZYqKhzSGVBfq2zIYYwdSUz3xBZ09WjDkQZI\nHNwRpp5n2YYp7T3pC2SBjATUD3xdYJ1aHlmS0cFC26DVi7fZ7DYHF14CKbus\njAdPvqxIV88ald4x+A5YVhsu7Cn205Cqqk9KjtAR0wAKVVwsCCEe3EkNOMaD\nmBoJ/nhojqz6ecR52zsQzI4Q0nz8ibhgjzPIi+DiIvuBlKML6YTB3IXHlEiv\nUp+iL04Fk7X8edUvcnnljctZpTq1wVK4XDcdfAPEbEV6f9eLaI1lVP51JYlo\nd7gy\r\n=Ps9y\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDZaHumYKRFtDIqhxZ1aEbPVv/51P0Sm7x/hgfdEsfNwAiBqpCYS8vbElDbfv6DBaqvVSrxzV4TQRu3AMYaO0BhkYA=="}]},"maintainers":[{"name":"mrafiqk","email":"mohammedrafiq.p@gmail.com"}],"_npmUser":{"name":"mrafiqk","email":"mohammedrafiq.p@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/html-pdf-node_1.0.2_1595338277302_0.6692776288988727"},"_hasShrinkwrap":false},"1.0.3":{"name":"html-pdf-node","version":"1.0.3","description":"Convert any html content or html page to PDF","main":"index.js","directories":{"test":"tests"},"scripts":{"test":"mocha tests/*.js -R spec --ui bdd --timeout 5000"},"author":{"name":"mrafiqk"},"license":"ISC","dependencies":{"bluebird":"^3.7.2","handlebars":"^4.7.6","puppeteer":"^5.1.0"},"devDependencies":{"chai":"^4.2.0","mocha":"^8.0.1"},"keywords":["html","pdf","nodejs","puppeteer","handlebars"],"repository":{"type":"git","url":"git+https://github.com/mrafiqk/html-pdf-node.git"},"bugs":{"url":"https://github.com/mrafiqk/html-pdf-node/issues"},"homepage":"https://github.com/mrafiqk/html-pdf-node#readme","gitHead":"7fb978f3a7474773190c8e4dc03d8f058bf59a05","_id":"html-pdf-node@1.0.3","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-wmLmmojtd334hXLCJIRB6g8Q8lzbdqILvQRtrgNYeJto80GYntrXuGCkQlEI5UsiSOAHswmkcAwa7T/pwlmIHg==","shasum":"9ee44a97c7992de3b590d06a2429064579c8aac8","tarball":"https://registry.npmjs.org/html-pdf-node/-/html-pdf-node-1.0.3.tgz","fileCount":6,"unpackedSize":46416,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfI9f5CRA9TVsSAnZWagAAOlkP/jO4h+UPV/yGe8/AYsrM\nn8/rT9M0n1mxMjUR8R5WuD8yOLMJ4ZUiUnDus/o6dt0xZQWIRHZ0yfgUAYv0\nWs2n+NSvWgjq1VJKbIyGmqa3lKLSe+poFiyL3f5zqgF+ROMXWwtPI+FX2dUI\nbEoHMm3KB77GAlodOunM5Uk3fnl4GzigfKv6S2zCiD4i7Nb0csWaDfAZzTI7\n5Nyfp50mCgAzJLCaUlic1Om1yJRJYgxhAnSaYoM1iMFAOdkd8x1jjz/hADss\nrV0L9WOa87yAxDfJqz2hSe2PyhV7aeXfIvaBen5cIKiNsXVN1m0s9aFWlox1\nWbXlvcC3AZz+AdFS32uRQCjXHtzWzxzWhywDqDeBLBrU7dWon7JSE/BNJR1T\nlnpOTEhWL1X4PIpYJ7m0sBs2PTiMkOQ+XmPfjLxDWKpWEnzQWlhceL8ht650\niB8r5Gq7+MOOGd/H5uRk6Yr/k09lWpE0jb8jO9f56PKlRA+69yZkMxDTb1y+\n6Qbj5BYdYK1qK/Or+DKaeNvDo7GFFTuQ6i/U5ZNkQARnQN2cQ4TPy0Ogeu4i\nj2UGsr58SqXqqebybDnxA7w/xkiPQlOlw87YdLTCreuqG0tUwkJV66dNpT3c\ncvZfiWyNxJU6fyTr/AZqPTrLOnK31A+MfvpgdW6l6ml/H0jLNIPLfPPEtS+h\nYLa5\r\n=01ge\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC1GMsIynGpybTyQ0ZRxrO35aD7xF6YTuf9u0RgnLuwCgIgOLR6Nyo6gqJCZCdmwTUBxmIq9B5Z+dMXRHGAQl3TXls="}]},"maintainers":[{"name":"mrafiqk","email":"mohammedrafiq.p@gmail.com"}],"_npmUser":{"name":"mrafiqk","email":"mohammedrafiq.p@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/html-pdf-node_1.0.3_1596184569290_0.41650921560292264"},"_hasShrinkwrap":false},"1.0.4":{"name":"html-pdf-node","version":"1.0.4","description":"Convert any html content or html page to PDF","main":"index.js","directories":{"test":"tests"},"scripts":{"test":"mocha tests/*.js -R spec --ui bdd --timeout 5000"},"author":{"name":"mrafiqk"},"license":"ISC","dependencies":{"bluebird":"^3.7.2","handlebars":"^4.7.6","puppeteer":"^5.1.0"},"devDependencies":{"chai":"^4.2.0","mocha":"^8.0.1"},"keywords":["html","pdf","nodejs","puppeteer","handlebars"],"repository":{"type":"git","url":"git+https://github.com/mrafiqk/html-pdf-node.git"},"bugs":{"url":"https://github.com/mrafiqk/html-pdf-node/issues"},"homepage":"https://github.com/mrafiqk/html-pdf-node#readme","gitHead":"65b623b270aeae49bbc5fc7754ee199bc291caed","_id":"html-pdf-node@1.0.4","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-ti/+kjF1duE2ojmW+vy62gBQvzBhDtIlpKYt5dnao9IGU3b7rHbWWR0K4ct46XH/5LJqBCRoOPiNM7MMpHM6WA==","shasum":"b57e32ba003931c5662ada840fb4a401941b836c","tarball":"https://registry.npmjs.org/html-pdf-node/-/html-pdf-node-1.0.4.tgz","fileCount":6,"unpackedSize":47576,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfNZMlCRA9TVsSAnZWagAAAE0QAKRUUGY47EPK8f88MyIW\nsvWLe8XF0BqlKNNSBw+H1sNpX6lIsDJVIteZG5rCrLCE18tye107oO+QEVEq\n9/ysH/n5hZfe80QiitlhwkEcDO6dRoEfTNOOp0FXDqICvOI8hS6Fv5ZWh8bZ\n9KYzammwfigExKsDypa/XkRiBxEPJ/f8Yk86MnkaRm9lr1ech+svKOtmBiH1\n7Cxs2Js4bHWdhEZbabmIqHSVSul6NlGKXEwyTQCOUj9Ugl+FadCsq41VeyaK\nZSsox0sYYmpOuWO9VXQSRnAtccMAiKdFEDRmoourkrcsxDAoLVyBiIzK2+Nr\nmtSwlyJTTSIidN3YW9CrdxGdbvbMefjy4AXpytmOflbYL6+YEQtY+HhTKaQ4\nC5000GV3Jjye4ObqJlra0uuFXaEuO5Wb0LWexCe7nNfW2WBzlEdw0bqT/0rU\nUc5cGKouV+0qJ8Hj11eZblQnzNYCl1H42EfRGYAIMa28rLXh8Rl6rouJC3NI\nXpGjYArlxnMpEsxQNeTUftA7qwMyrkMC3k74S7/rNLWLwB7R4EXryS189Qqn\nOX+a3kjnIqpb2SOvmDRa74dipKtv+SFp5pax1yIV9r5Mt30GXS2aMIEUWcKI\nHz7LPcbd8bGb30IbmsUvIRGya7+QrqJrQbmVIWX/X7T2mq0SvinbxkKISNTT\nmzlg\r\n=bpJs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD1V5lCH69QY8BgWC6TYQlCucRjLR2aRjFM8Uerw9RcXQIhAOg6GmARGsz+rNpCwUiz1hFAmSibTimhTezAhJYG8tEC"}]},"maintainers":[{"name":"mrafiqk","email":"mohammedrafiq.p@gmail.com"}],"_npmUser":{"name":"mrafiqk","email":"mohammedrafiq.p@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/html-pdf-node_1.0.4_1597346597079_0.1829297709811477"},"_hasShrinkwrap":false},"1.0.5":{"name":"html-pdf-node","version":"1.0.5","description":"Convert any html content or html page to PDF","main":"index.js","directories":{"test":"tests"},"scripts":{"test":"mocha tests/*.js -R spec --ui bdd --timeout 5000"},"author":{"name":"mrafiqk"},"license":"ISC","dependencies":{"bluebird":"^3.7.2","handlebars":"^4.7.6","puppeteer":"^5.1.0"},"devDependencies":{"chai":"^4.2.0","mocha":"^8.0.1"},"keywords":["html","pdf","nodejs","puppeteer","handlebars"],"repository":{"type":"git","url":"git+https://github.com/mrafiqk/html-pdf-node.git"},"bugs":{"url":"https://github.com/mrafiqk/html-pdf-node/issues"},"homepage":"https://github.com/mrafiqk/html-pdf-node#readme","gitHead":"d2621f252861ca18771a060bcdaff7c263c8ac34","_id":"html-pdf-node@1.0.5","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-QPBoGXwgEzhcJAG/u5plxqeytFMYLDSsbq8qZ8SNB+A9mDMgSfyQOztccWLteXI4v4Y6zbHulZBn7iHz2lCHKA==","shasum":"06a4c14e477766d1509c0cfe1d4592fd4dd489bd","tarball":"https://registry.npmjs.org/html-pdf-node/-/html-pdf-node-1.0.5.tgz","fileCount":6,"unpackedSize":47515,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfNZ6RCRA9TVsSAnZWagAAQC8P/11ujcFiNJsMsiR4jSjf\nFpCWNr0CAjjDoSqarQc8uxG8Z5Jp/zZWfj5OIhpfbVvAxFPPlz6E5jP7K0Q4\nrwuFJUV5/ihFcL+GyRVJRM9+PC8q8bYEp28zT5FRqMWzeC3XNu+j9b08nl/Q\n4LS8U19NuwJl5acK6A7hMdxhhmqQwuCdAk7HWXIQjCBmY/gYhx629HirpE2L\nH4vh2Qm9Z5gZlXjBZWP3iPw8R1kMz5k8zbBCfoxAG7MaBH6jlNkqmh2TSU08\nw2Lck8mkrPG0sc9m3xFxc4zSHsaPgFim0K6IJlYES4/ljNkhSH3cy5rnsV6r\nDH+U9lWZFGP5QfTGcWN0k5+rt/QbJ6nhXY56mJGrbZrJkTk1C6ZgceJYi5VW\nQvZveg8sOiVXDGUelvYG3SZkNDM6hL4FlIGm2cF4jwEyefNpgEsfd6AW2CzX\nWEqndhhq19a7X16JA13kEzLFWPCcAcchOhEJEvpTNpKAMV0imLvHTNzIRa/m\n5PKFnsmyvXOUH9e7hmYhU0wplyyxYpCkRrVGkkXTeFCW4Bczkx1v3HjrnO5S\nwT7VSeAY6Dp4F0530b5JX/2xK8bQ0jAYf4UK2PgHdFifuQ+2RUqFcrG68rA0\n/TLXh/P2jYOMZgUnRalpaUzfSj0e12ly6qiH9rN+zdeH5TPtVTsrM6RgCQvQ\n3CP6\r\n=vX6Q\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCqT0u1PGq8GoCU1gqu98gfQSp1w+K+j9OKIB0p9kV4GQIgfynYkaWGUX4kcJugfs9YwaSimXZcMstaf1sCN5pYSuc="}]},"maintainers":[{"name":"mrafiqk","email":"mohammedrafiq.p@gmail.com"}],"_npmUser":{"name":"mrafiqk","email":"mohammedrafiq.p@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/html-pdf-node_1.0.5_1597349521030_0.8988113002928326"},"_hasShrinkwrap":false},"1.0.6":{"name":"html-pdf-node","version":"1.0.6","description":"Convert any html content or html page to PDF","main":"index.js","directories":{"test":"tests"},"scripts":{"test":"mocha tests/*.js -R spec --ui bdd --timeout 5000"},"author":{"name":"mrafiqk"},"license":"ISC","dependencies":{"bluebird":"^3.7.2","handlebars":"^4.7.6","puppeteer":"^5.1.0"},"devDependencies":{"chai":"^4.2.0","mocha":"^8.0.1"},"keywords":["html","pdf","nodejs","puppeteer","handlebars"],"repository":{"type":"git","url":"git+https://github.com/mrafiqk/html-pdf-node.git"},"bugs":{"url":"https://github.com/mrafiqk/html-pdf-node/issues"},"homepage":"https://github.com/mrafiqk/html-pdf-node#readme","gitHead":"3ab6049802d556c4356dc1de54205ff5d283e749","_id":"html-pdf-node@1.0.6","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-bXD7uVvlPrBRp7Go0fLZgQyRqQYIs7gr2xtGafiq1r+EFqNTz6J7ImCI8ssFybC53/M1h0mYMKE6VrfjVR0jaA==","shasum":"9c12e2d771a1e30d22b9f168b2217ff34edbf674","tarball":"https://registry.npmjs.org/html-pdf-node/-/html-pdf-node-1.0.6.tgz","fileCount":6,"unpackedSize":56271,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf1aZ8CRA9TVsSAnZWagAA01AP/jHPWj0rGFf94s65L1kK\ncYLX7hbGwURqyZAzIefwlkam256e2sU8ciwZxt+V5yZfglio8LZoqG59ySR6\nkw7sy8/mfCCmRNSWm1gn0t2XwML7ouitmpmD6pkk6pyKuKpZmHcBB+Lvvx48\nrqN8ipxvRUxaeUB96R3+YmYO1aCHpkFQJYTaw3BsP/fuouB2r25CYt3LpDC7\npkzIs0sPBCCutN8Dubah8V6QnwZ5+I8YH3A1UTG4Wsbxcf3gGpWLFU1LMdB7\niPUC9xt4rC9nqACBx5VWVBn1NCx4jQ1WOJpL8MxRUZuPTKiwNc6zCjjIZ2Di\nzeIQCtibMk450oaUVV24gcUJ2ZUwC28fHW5Fu70epScXfeEZSB27r3P/03SA\nE3ifGRpO1BsDr1h2lX1iGfFnmOPWJeWJUs74egGOF+ShVpu7mc0PKBLMYnH0\n66+KtMKkyNecG0oaeVvu+m8oy3h0mILhgdCmQr7tnQatoWuJAiHirHzcVuGM\nIERnNOKoQZxOLwvJuEvL8DEB7vdd8CrJJGZjgkyPRlcQOWA880KWg1MTsX8O\nMdaBfgH83PVDsUyuZPzJiYME3AAKPalDzqsaOd4Opnoukqr46fEaRTkTq4Os\ng+KEpYsWpchJatxeGz9k1J4A3pnVdx42rWU/DSyj9l+1EFJ6hYN5cmhHNNG+\nrLIN\r\n=K3hm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHj+mWEr6Zx1z7NRo7Si62d2sE246ardiWZrjPY+IGp1AiEAu0RYDuMN8YmkkldA17EkMDZ2144bPQKwHT+J2uC+xz8="}]},"_npmUser":{"name":"mrafiqk","email":"mohammedrafiq.p@gmail.com"},"maintainers":[{"name":"mrafiqk","email":"mohammedrafiq.p@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/html-pdf-node_1.0.6_1607837308379_0.6563760061512316"},"_hasShrinkwrap":false},"1.0.7":{"name":"html-pdf-node","version":"1.0.7","description":"Convert any html content or html page to PDF","main":"index.js","directories":{"test":"tests"},"scripts":{"test":"mocha tests/*.js -R spec --ui bdd --timeout 5000"},"author":{"name":"mrafiqk"},"license":"ISC","dependencies":{"bluebird":"^3.7.2","handlebars":"^4.7.6","puppeteer":"^5.1.0"},"devDependencies":{"chai":"^4.2.0","mocha":"^8.0.1"},"keywords":["html","pdf","nodejs","puppeteer","handlebars"],"repository":{"type":"git","url":"git+https://github.com/mrafiqk/html-pdf-node.git"},"bugs":{"url":"https://github.com/mrafiqk/html-pdf-node/issues"},"homepage":"https://github.com/mrafiqk/html-pdf-node#readme","gitHead":"4c5f7df700b37ad2f51c6a745f5992092eef009b","_id":"html-pdf-node@1.0.7","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-fBvV3/+GxqEuyZuYGPou9aKEP84VbN/1wmL1ujF1UsLSy10srESfQelbOrSgJkOHs23yPfUG9uGMajat6+1UfQ==","shasum":"4916e7d3fa3c5cbf3f37160264fd1eb5a693c285","tarball":"https://registry.npmjs.org/html-pdf-node/-/html-pdf-node-1.0.7.tgz","fileCount":6,"unpackedSize":56170,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf2dM7CRA9TVsSAnZWagAA4PMQAIx1ya/23V+vxp8yPYP3\nCt8AAJF6or9d9sitxquQlz5r+T/J9op1QreydpdDK4IlWhMr4X70VDam6DvE\nC2tC8avOfonJBduaZZu963K4zj0tNdXGfTyRLkrjBpnIhmLXALJFUXU3Gwy/\nGSNA0pTX7776LWF2r5yOsSyul67HyO4Tg0xNX/gPLE2Gj6nuu8fc8r66Xb3D\nxQTm/iIc09Qp9jND1WNGhZoPE/A7QiaA2yobZJ0i20d5PK2kIYVypuMDb609\nrlZOsL3MIY0428W7yzUN9wL/TMdbCnIGvpghBnKXpUVq5QdbHqo248xk1x2w\njjCjaWGXZzjJDaNeT1bRyrorwNqJTQc53IKn8vUsmlKJ1n86LI1H0SMDzr+V\nR2Ccr3tvo/xK+ssCujBMgRYslnfh3CGGcs4VzTaV5n0QddCSgvlM1swktLTN\n9zauSrWr+fLg5agfxhmJ0nHMpPBAFPUrZm6GJS2Uz+HTh3dnS1WklD02htqX\n4A75xk5Pc86wSLg4nGvY2+e3QZ6w5juSRAB5YqqWPK4JEkw5PDr4u701yDq2\neyVNgXscDOabzVhNhvma7OiM75+xe2Dqo8Z3CnTlYpIxCphH7WqqRk4t9tUx\n0tLb41kXNPGj3cNabYcZm1ySgvCCQTcmHeV1BIyNRKQ6d9d7cmN/HMTrDvdD\nROre\r\n=+pPE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDQgha+bHDSlfpkKM0v4ypYa1Rp6BKCmjxycQP6WFUPpQIhANK2L0CUYlZvq+g4xqzaYH4yF+HoiWgAhQW0WudD+6Zi"}]},"_npmUser":{"name":"mrafiqk","email":"mohammedrafiq.p@gmail.com"},"maintainers":[{"name":"mrafiqk","email":"mohammedrafiq.p@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/html-pdf-node_1.0.7_1608110906652_0.4997016961828755"},"_hasShrinkwrap":false},"1.0.8":{"name":"html-pdf-node","version":"1.0.8","description":"Convert any html content or html page to PDF","main":"index.js","directories":{"test":"tests"},"scripts":{"test":"mocha tests/*.js -R spec --ui bdd --timeout 5000"},"author":{"name":"mrafiqk"},"license":"ISC","dependencies":{"bluebird":"^3.7.2","handlebars":"^4.7.6","inline-css":"^3.0.0","puppeteer":"^10.4.0"},"devDependencies":{"chai":"^4.2.0","mocha":"^8.0.1"},"keywords":["html","pdf","nodejs","puppeteer","handlebars"],"repository":{"type":"git","url":"git+https://github.com/mrafiqk/html-pdf-node.git"},"bugs":{"url":"https://github.com/mrafiqk/html-pdf-node/issues"},"homepage":"https://github.com/mrafiqk/html-pdf-node#readme","gitHead":"3d89248e7faadb2c3f2f97c1c11c0d605179fe28","_id":"html-pdf-node@1.0.8","_nodeVersion":"14.18.1","_npmVersion":"6.14.15","dist":{"integrity":"sha512-1PXbShoVXy8/86ZBY3xQNd5r2c/CPx/Me2wGtV0Z0Rekko5Tgow2hLms2n+OwA+PV7NyR7OPcTqsnhXIMUJLFw==","shasum":"19577e0e4f4d5a6a56420030e1b9777f140cbc19","tarball":"https://registry.npmjs.org/html-pdf-node/-/html-pdf-node-1.0.8.tgz","fileCount":6,"unpackedSize":56896,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhuBkICRA9TVsSAnZWagAA+lMP+QHPuphgbdWsS8yefjUJ\nvVI9eSFK5QT462WZQmfGfdtXjtduInexrEvfYfJvCkiQBaKEq6EqL100SOJV\nNuaNR12ZDBZYtXR/FbQ/qc1r6sBOhO3KGXtOY09sswr/AvvXaW0mn1yn940A\n1pe1PX9syACoAq0F8wU/4fti8Ly9gdvoxzc7ISr9HDcImqbEipElEuAXW3l4\ngb1rPYh+inBqub3gmYqN9y3RIXgivmEukZBsZL243lPuG0zT/BHuR6O+ce3F\n8LJn5LAjQDL02ppL8EH8fYLZDeX8CjqcybZwcZtXnDlFCW2KFHG1i6BbPPYT\nNQFl6Yzg5qNU39WBu7qzSNu9A6PjYN/Od/XrRiVuxtES7H0pZyNFKmsoNd7U\npieQxnyYpbysVffm/aAU6JmfqMe8FU6Yrc8RIZwALYrEvv4mKGNxA1hPtbOz\n+zMQWC4aUoFQLlvE1s9xeuEj6sqhZrEi0n+KRahN7AOFTgG6IzwMZhZLG+KA\nwBy+1eSEUbv0rM6Uzp8ALxluIkx9k34VoEzyHzgcVFnI9HstjyQeacOyhSon\nETATfSHiDCwlCUl1wNpb/Lw5THMMVxdDtpbHLHqmNEDOfRWXnM39ZlOBYvnL\nu8+6DbAdkocgFtwUG9A1pXpsKAeKL3lCE1lrro5gf5l3p2jqSNc7s5CY0mMX\n3x+k\r\n=uuA6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAGXm79QD9VymURjVpkFN6Ruijh7zWa5WEbC9lwwwB7aAiEApsosBNORybHLK3wFbV2Uc+05/0vtdvqOkhXSgxrlcD0="}]},"_npmUser":{"name":"mrafiqk","email":"mohammedrafiq.p@gmail.com"},"maintainers":[{"name":"mrafiqk","email":"mohammedrafiq.p@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/html-pdf-node_1.0.8_1639454984469_0.7849237647755674"},"_hasShrinkwrap":false}},"time":{"created":"2020-07-20T13:41:29.190Z","1.0.0":"2020-07-20T13:41:29.325Z","modified":"2022-05-05T07:04:11.797Z","1.0.1":"2020-07-20T13:47:04.703Z","1.0.2":"2020-07-21T13:31:17.483Z","1.0.3":"2020-07-31T08:36:09.420Z","1.0.4":"2020-08-13T19:23:17.271Z","1.0.5":"2020-08-13T20:12:01.182Z","1.0.6":"2020-12-13T05:28:28.498Z","1.0.7":"2020-12-16T09:28:26.812Z","1.0.8":"2021-12-14T04:09:44.684Z"},"maintainers":[{"name":"mrafiqk","email":"mohammedrafiq.p@gmail.com"}],"description":"Convert any html content or html page to PDF","homepage":"https://github.com/mrafiqk/html-pdf-node#readme","keywords":["html","pdf","nodejs","puppeteer","handlebars"],"repository":{"type":"git","url":"git+https://github.com/mrafiqk/html-pdf-node.git"},"author":{"name":"mrafiqk"},"bugs":{"url":"https://github.com/mrafiqk/html-pdf-node/issues"},"license":"ISC","readme":"# html-pdf-node\r\n\r\n> Pagination plugin for converts html or url to pdf\r\n\r\n\r\n\r\n**Note:** This plugin will convert html page or public URL into PDF. This will work with Node.js\r\n=======\r\n\r\n## Installation\r\n\r\n```sh\r\nnpm install html-pdf-node\r\n```\r\n\r\n## Usage\r\n\r\nTo convert `HTML` page to `PDF` using `generatePdf` method:\r\n\r\n```js\r\nvar html_to_pdf = require('html-pdf-node');\r\n\r\nlet options = { format: 'A4' };\r\n// Example of options with args //\r\n// let options = { format: 'A4', args: ['--no-sandbox', '--disable-setuid-sandbox'] };\r\n\r\nlet file = { content: \"<h1>Welcome to html-pdf-node</h1>\" };\r\n// or //\r\nlet file = { url: \"https://example.com\" };\r\nhtml_to_pdf.generatePdf(file, options).then(pdfBuffer => {\r\n  console.log(\"PDF Buffer:-\", pdfBuffer);\r\n});\r\n```\r\n\r\n### html_to_pdf.generatePdf ( [file], [options], [callback] )\r\n\r\n**Parameters**\r\n\r\n`file` <[Object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object \"Object\")> File object should have one of the following properties:\r\n\r\n- `url` <[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type \"String\")> Any public url of the PDF.\r\n- `content`<[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type \"String\")> HTML file content of the PDF.\r\n\r\n`options` <[Object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object \"Object\")> Options object should have the following properties:\r\n\r\n-   `args`  <[Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array \"Array\")<[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type \"String\")>> Additional arguments to pass to the browser instance. The list of Chromium flags can be found [here](http://peter.sh/experiments/chromium-command-line-switches/). This options will overwrite the default arguments. The default arguments are `['--no-sandbox', '--disable-setuid-sandbox']`.\r\n-   `path`  <[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type \"String\")> The file path to save the PDF to. If  `path`  is a relative path, then it is resolved to  [current working directory](https://nodejs.org/api/process.html#process_process_cwd). If no path is provided, the PDF won't be saved anywhere.\r\n-   `scale`  <[number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Number_type \"Number\")> Scale of the webpage rendering. Defaults to  `1`. Scale amount must be between 0.1 and 2.\r\n-   `displayHeaderFooter`  <[boolean](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type \"Boolean\")> Display header and footer. Defaults to  `false`.\r\n-   `headerTemplate`  <[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type \"String\")> HTML template to print the header. Should be valid HTML markup with following classes used to inject printing values into them:\r\n    -   `date`  formatted date\r\n    -   `title`  document title\r\n    -   `url`  document location\r\n    -   `pageNumber`  current page number\r\n    -   `totalPages`  total pages in the document\r\n-   `footerTemplate`  <[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type \"String\")> HTML template to print the footer. Should use the same format as the  `headerTemplate`.\r\n-   `printBackground`  <[boolean](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type \"Boolean\")> Print background graphics. Defaults to  `false`.\r\n-   `landscape`  <[boolean](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type \"Boolean\")> Paper orientation. Defaults to  `false`.\r\n-   `pageRanges`  <[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type \"String\")> Paper ranges to print, e.g., '1-5, 8, 11-13'. Defaults to the empty string, which means print all pages.\r\n-   `format`  <[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type \"String\")> Paper format. If set, takes priority over  `width`  or  `height`  options. Defaults to 'Letter'.\r\n-   `width`  <[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type \"String\")|[number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Number_type \"Number\")> Paper width, accepts values labeled with units.\r\n-   `height`  <[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type \"String\")|[number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Number_type \"Number\")> Paper height, accepts values labeled with units.\r\n-   `margin`  <[Object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object \"Object\")> Paper margins, defaults to none.\r\n    -   `top`  <[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type \"String\")|[number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Number_type \"Number\")> Top margin, accepts values labeled with units.\r\n    -   `right`  <[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type \"String\")|[number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Number_type \"Number\")> Right margin, accepts values labeled with units.\r\n    -   `bottom`  <[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type \"String\")|[number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Number_type \"Number\")> Bottom margin, accepts values labeled with units.\r\n    -   `left`  <[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type \"String\")|[number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Number_type \"Number\")> Left margin, accepts values labeled with units.\r\n-   `preferCSSPageSize`  <[boolean](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type \"Boolean\")> Give any CSS  `@page`  size declared in the page priority over what is declared in  `width`  and  `height`  or  `format`  options. Defaults to  `false`, which will scale the content to fit the paper size.\r\n\r\n**Return value**\r\n\r\nPromise which resolves with PDF buffer.\r\n\r\n### html_to_pdf.generatePdfs ( [files], [options], [callback] )\r\n\r\n**Parameters**\r\n\r\n`files` <[Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array \"Array\")<[Object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object \"Object\")>> File object should have one of the follwing properties:\r\n\r\n- `url` <[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type \"String\")> Any public url of the PDF.\r\n- `content`<[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type \"String\")> HTML file content of the PDF.\r\n\r\n`options` <[Object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object \"Object\")> Options object should have the following properties:\r\n\r\n-   `args`  <[Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array \"Array\")<[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type \"String\")>> Additional arguments to pass to the browser instance. The list of Chromium flags can be found [here](http://peter.sh/experiments/chromium-command-line-switches/). This options will overwrite the default arguments. The default arguments are `['--no-sandbox', '--disable-setuid-sandbox']`.\r\n-   `path`  <[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type \"String\")> The file path to save the PDF to. If  `path`  is a relative path, then it is resolved to  [current working directory](https://nodejs.org/api/process.html#process_process_cwd). If no path is provided, the PDF won't be saved anywhere.\r\n-   `scale`  <[number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Number_type \"Number\")> Scale of the webpage rendering. Defaults to  `1`. Scale amount must be between 0.1 and 2.\r\n-   `displayHeaderFooter`  <[boolean](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type \"Boolean\")> Display header and footer. Defaults to  `false`.\r\n-   `headerTemplate`  <[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type \"String\")> HTML template to print the header. Should be valid HTML markup with following classes used to inject printing values into them:\r\n    -   `date`  formatted date\r\n    -   `title`  document title\r\n    -   `url`  document location\r\n    -   `pageNumber`  current page number\r\n    -   `totalPages`  total pages in the document\r\n-   `footerTemplate`  <[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type \"String\")> HTML template to print the footer. Should use the same format as the  `headerTemplate`.\r\n-   `printBackground`  <[boolean](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type \"Boolean\")> Print background graphics. Defaults to  `false`.\r\n-   `landscape`  <[boolean](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type \"Boolean\")> Paper orientation. Defaults to  `false`.\r\n-   `pageRanges`  <[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type \"String\")> Paper ranges to print, e.g., '1-5, 8, 11-13'. Defaults to the empty string, which means print all pages.\r\n-   `format`  <[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type \"String\")> Paper format. If set, takes priority over  `width`  or  `height`  options. Defaults to 'Letter'.\r\n-   `width`  <[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type \"String\")|[number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Number_type \"Number\")> Paper width, accepts values labeled with units.\r\n-   `height`  <[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type \"String\")|[number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Number_type \"Number\")> Paper height, accepts values labeled with units.\r\n-   `margin`  <[Object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object \"Object\")> Paper margins, defaults to none.\r\n    -   `top`  <[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type \"String\")|[number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Number_type \"Number\")> Top margin, accepts values labeled with units.\r\n    -   `right`  <[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type \"String\")|[number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Number_type \"Number\")> Right margin, accepts values labeled with units.\r\n    -   `bottom`  <[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type \"String\")|[number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Number_type \"Number\")> Bottom margin, accepts values labeled with units.\r\n    -   `left`  <[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type \"String\")|[number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Number_type \"Number\")> Left margin, accepts values labeled with units.\r\n-   `preferCSSPageSize`  <[boolean](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type \"Boolean\")> Give any CSS  `@page`  size declared in the page priority over what is declared in  `width`  and  `height`  or  `format`  options. Defaults to  `false`, which will scale the content to fit the paper size.\r\n\r\n**Return value**\r\n\r\nPromise which resolves with array of object which contains file objects with PDF buffers.\r\n\r\n***Example:***\r\n```js\r\nlet options = { format: 'A4' };\r\nlet file = [{ url: \"https://example.com\", name: 'example.pdf' }];\r\n\r\nhtml_to_pdf.generatePdfs(file, options).then(output => {\r\n  console.log(\"PDF Buffer:-\", output); // PDF Buffer:- [{url: \"https://example.com\", name: \"example.pdf\", buffer: <PDF buffer>}]\r\n});\r\n```\r\n","readmeFilename":"README.md"}