Add option to run from command line using 'pdfdig' command

This commit is contained in:
Michal Szczepanski 2019-07-22 22:50:26 +02:00
parent 0fa89f0c04
commit fc54756c50
2 changed files with 5 additions and 1 deletions

1
bin/pdfdig Normal file
View File

@ -0,0 +1 @@
require('../gd')

View File

@ -9,5 +9,8 @@
"dependencies": {
"minimist": "^1.2.0",
"pdfjs-dist": "^2.1.266"
}
},
"bin": {
"pdfdig": "./bin/pdfdig"
},
}