Clone this repo, then run npm install
(or yarn install
)
Run npm start
(or yarn start
). The example code
loads web-assembly.pdf and then prints the number of pages in this file.
Example of using PDFium Web Assembly build in Node.js
Clone this repo, then run npm install
(or yarn install
)
Run npm start
(or yarn start
). The example code
loads web-assembly.pdf and then prints the number of pages in this file.
Example of using PDFium Web Assembly build in Node.js