dpd-pdf

PDF rendering resource for Deployd.

Usage no npm install needed!

<script type="module">
  import dpdPdf from 'https://cdn.skypack.dev/dpd-pdf';
</script>

README

Deployd PDF Rendering Resource

This custom resource type allows you to render html to PDF. It requires an external command line utility like wkhtml.

Installation

$ npm install dpd-pdf

See Installing Modules for details.

Configuration

Before using the pdf resource, you must go to its Dashboard page and configure it.

Required settings:

path
Full path to PDF renderer executable.

Optional settings:

options
PDF renderer command line options.