Module

x/live/utils/dataURI.ts>dataURI

Git-based Visual CMS for Deno, </> htmx and Tailwind apps. Deploy on any Deno-compatible host.
Latest
variable dataURI
import { dataURI } from "https://dotland.deno.dev/x/live@1.107.0/utils/dataURI.ts";

type

(
contentType: "text/javascript",
base64: boolean,
content: string,
) => unknown