Add PDF manipulation functionality with options to duplicate pages and combine pages 2-up

This commit is contained in:
2025-03-13 16:26:12 -03:00
commit f9dec6d1e0
5 changed files with 1430 additions and 0 deletions

26
package.json Normal file
View File

@@ -0,0 +1,26 @@
{
"name": "pdf-pages-reducer",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"build": "tsc",
"start": "node dist/index.js",
"dev": "ts-node src/index.ts"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"@types/inquirer-fuzzy-path": "^2.3.9",
"@types/node": "^22.13.10",
"ts-node": "^10.9.2",
"typescript": "^5.8.2"
},
"dependencies": {
"@types/inquirer": "^9.0.7",
"inquirer": "^12.4.3",
"inquirer-fuzzy-path": "^2.3.0",
"pdf-lib": "^1.17.1"
}
}