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

x/live/daemon/meta.ts>inferBlockType

Git-based Visual CMS for Deno, </> htmx and Tailwind apps. Deploy on any Deno-compatible host.
Go to Latest
variable inferBlockType
import { inferBlockType } from "https://deno.land/x/live@1.102.1/daemon/meta.ts";

Given a filename returns a blocktype

type

(filename: string) => Promise<string>