Skip to content

Commit 45f5ea4

Browse files
committed
feat: headless
1 parent 4a0289e commit 45f5ea4

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

index.js

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ async function generatePdf(file, options, callback) {
1313

1414
const browser = await puppeteer.launch({
1515
args: args,
16+
headless: true,
1617
});
1718
const page = await browser.newPage();
1819

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@akash3080/html-to-pdf-node",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"description": "A opensource package for node to convert html to pdf ",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)