Export as a lib

This commit is contained in:
√(noham)²
2026-06-19 21:34:01 +02:00
parent 93d24e5103
commit 54cb28c488
6 changed files with 249 additions and 139 deletions

View File

@@ -4,7 +4,10 @@
"private": true,
"type": "module",
"description": "Convert web articles to PDF using Reader View and Puppeteer",
"main": "src/index.js",
"main": "src/pdfy.js",
"exports": {
".": "./src/pdfy.js"
},
"scripts": {
"start": "node src/index.js",
"test": "node src/test/test.js"