pdfexp
v0.0.12
Published
The PDF Explorer. A PDF tool kit. Merge pdf files, make pdf outline from bookmarks.json, ...
Downloads
4
Maintainers
Readme
pdfexp
The PDF EXPlorer
Usage
pdfexp
Help
Commands:
pdfexp Help [default]
pdfexp merge <output> [dir|files..] merge multile PDF files into one.
[dir ] : list pdf in directory,
globby pattern supported.
https://github.com/sindresorhus/glob
by#patterns
[files] : list pdf files one by one
Example:
> pdfexp merge output.pdf .
> pdfexp merge output.pdf dist/*.pdf
> pdfexp merge output.pdf input1.pdf 2.pdf 3.pdf
pdfexp edit <pdf-file> [output] edit pdf file.
pdfexp meta <pdf-file> [outputJsonFile] get pdf file meta information.
Options:
-b, --bookmark Add boomarks (outline) to pdf, from structure data
bookmark.json.
Work with command 'edit' and 'meta'.
-h, --help Show help [boolean]
-v, --version Show version number [boolean]
Merge PDF files
pdfexp merge <output> [dir|files..]
merge multile PDF files into one.
[dir ] : list pdf in directory, globby pattern supported.
https://github.com/sindresorhus/globby#patterns
[files] : list pdf files one by one
Example:
pdfexp merge output.pdf .
pdfexp merge output.pdf dist/*.pdf
pdfexp merge output.pdf input1.pdf 2.pdf 3.pdf
Update PDF
pdfexp edit <pdf-file> [output]
edit pdf file.
Options:
-b, -b, --bookmark Add boomarks (outline) to pdf, from structure data
bookmark.json [required]
Meta from PDF
pdfexp meta <pdf-file> [outputJsonFile]
get pdf file meta information.
Options:
-b, --bookmark Add boomarks (outline) to pdf, from structure data
bookmark.json.
Work with command 'edit' and 'meta'.
-l, --pagelinks get internal links' page number [boolean]