A pre-built, dependency-bundled version of WeasyPrint for 64-bit Windows OS.
Features:
- Pre-bundled dependencies (Python3 & GTK+)
- Simple NodeJS api
Todo:
- Write API docs
const WeasyPrint = require('@flamescape/weasyprint-win');
const wp = new WeasyPrint();
const pdf = await wp.fromString('<body>Hello World</body>');
await pdf.toFile('./test.pdf'); // writes to ./test.pdf