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

x/blocks/daemon/meta.ts>inferBlockType

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

Given a filename returns a blocktype

type

(filename: string) => Promise<string>