Skip to main content
Module

x/gotenberg/mod.ts>url

A gotenberg client for Deno
Latest
function url
import { url } from "https://deno.land/x/gotenberg@0.4.0/mod.ts";

Creates a RequestInfo for converting a webpage (url) to a pdf.

Parameters

url: string

url that should be loaded by gotenberg

optional
options: Partial<ChromiumOptions> = [UNSUPPORTED]

layout and design options

optional
files: Asset[] = [UNSUPPORTED]

additional filles allways loaded into the page

Returns

RequestInfo to be passed to an executor