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

x/blocks/hooks/useScript.ts>useScriptAsDataURI

Git-based Visual CMS for Deno, </> htmx and Tailwind apps. Deploy on any Deno-compatible host.
Latest
function useScriptAsDataURI
import { useScriptAsDataURI } from "https://deno.land/x/blocks@1.107.0/hooks/useScript.ts";

Type Parameters

T extends (...args: any[]) => any

Parameters

fn: T
...params: Parameters<T>

Returns

string