Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deco/utils/dataURI.ts>dataURI

Open-Source web editor based on Preact, Tailwind and TypeScript. The other side of code.
Go to Latest
variable dataURI
import { dataURI } from "https://deno.land/x/deco@1.59.1/utils/dataURI.ts";

type

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