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
@ontra/pdf-context
1.0.1 • Public • PublishedReadme
Keywords
nonePackage Sidebar
Install
npm i @ontra/pdf-context
Weekly Downloads
1
Version
1.0.1
License
ISC
Unpacked Size
106 kB
Total Files
9