Skip to content

vposham/pdfium-wasm

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pdfium-wasm

PDFium compiled for Web Assembly

Usage

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.

Building

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.

Releases

No releases published

Packages

No packages published

Languages

  • C 55.8%
  • Shell 23.7%
  • JavaScript 20.5%