HTTP service wrapping WeasyPrint including client library
Running server is supported out-of-the-box using docker. Of course, it doesn't rely on docker and you might set it up on any sort of server you like.
docker build https://github.com/cepharum/pdf-printer.git
npm i pdf-printer
The client is exposed as API of this package. Thus using it is as simple as this:
const Client = ;"" "myApiKey";
See the examples folder for additional code examples.