Skip to main content
The Deno 2 Release Candidate is 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.
Go to Latest
function useScriptAsDataURI
import { useScriptAsDataURI } from "https://deno.land/x/blocks@1.102.6/hooks/useScript.ts";

Type Parameters

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

Parameters

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

Returns

string