PuppeteerPdf (Puppeteer PDF v1.0.1)

View Source

Wrapper library for NodeJS binary puppeteer-pdf.

Summary

Functions

Get puppeteer-pdf binary version

Verify if the file generated is a valid PDF file

Functions

get_exec_version()

@spec get_exec_version() :: String.t()

Get puppeteer-pdf binary version

is_pdf(file)

@spec is_pdf(String.t()) :: boolean()

Verify if the file generated is a valid PDF file