browser-based-export-server

Node.js server exposing an API to export a web application at a given URL to a PDF file

Usage no npm install needed!

<script type="module">
  import browserBasedExportServer from 'https://cdn.skypack.dev/browser-based-export-server';
</script>

README

npm version build status

Goal

browser-based-export-server is a Node.js server, relying on browser-based-export, to export a web application at a given URL to a PDF file.

The server is also available as an AWS Lambda function.

Usage

  1. Install the server on your machine: npm install -g browser-based-export-server
  2. Start its CLI: browser-based-export-server. The output will give you more information about what to do next.