Skip to content

kairi003/qpdf-wasm-esm

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

qpdf-wasm-esm

This is a fork of qpdf-wasm that uses ESM instead of CommonJS.

It is adjusted for the browser and has the following differences due to changes in build options:

  • It is an ES module instead of a CommonJS module.
  • It names the exported default function QPDF instead of Module(default name).
  • It build qpdf.mjs instead of qpdf.js.
  • It accepts overloading of the print and printErr methods.

Examples

Build with docker and run see the tests/test.html.


qpdf-wasm

qpdf compiled to WASM via Emscripten. This doesn't expose the qpdf library - just the CLI.

npm install --save @jspawn/qpdf-wasm

Examples

See the tests directory for examples.

About

qpdf compiled to WASM

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 37.9%
  • JavaScript 35.9%
  • HTML 23.4%
  • Dockerfile 2.8%