Skip to content
Building PDFium for Web Assembly
C Shell JavaScript
Branch: master
Clone or download
urish cleanup: remove js-wrapper
it's now available as part of the example project:
Latest commit d495166 Jun 16, 2018


PDFium compiled for Web Assembly


Currently only usage inside Node.js is supported. Most of the public PDFium API is available. To install this to your project simply run:

npm install --save pdfium-wasm

Check out the example project for a simple usage example.


Build with docker:

docker build -t pdfium-wasm .

Building & Running Example

docker build -t pdfium-example example
docker run pdfium-example

This should load example/src/web-assembly.pdf and print the number of page. See the source code.

You can’t perform that action at this time.