Skip to main content
Module

x/gotenberg/mod.ts>readFile

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

Helper to read a file (async)

Parameters

file: string

Path to file

optional
filename = [UNSUPPORTED]

filename passed to gotenberg

Returns

Promise<Asset>

Asset that can be used in RequestInfo creatoren