1.0.1 • Published 3 years ago

@ontra/pdf-context v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

JavaScript script to convert a reference link to either text or quads.

It is run on the command line:

node index.js pdf_file_path link_params command

where link_params is startPage startX startY endPage endX endY

and command is one of linkText - output the text in the link to stdout textAfter - output the text after the link to stdout textBefor - output the text before the link to stdout convertLink - convert the link to PDFTron Quads

to run tests:

npm test