Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/live/mod.ts

Git-based Visual CMS for Deno, </> htmx and Tailwind apps. Deploy on any Deno-compatible host.
Latest
import * as live from "https://deno.land/x/live@1.74.1/mod.ts";

Classes

Escape hatch to allow throwing an http error

Variables

wraps an arbitrary data as a resolved object skiping the config resolution algorithm.

Returns a bad request error

Creates a unique bag key for the given description

Creates a proxy that lets you invoke functions based on the declared actions and loaders. (compatibility with old invoke)

Returns a forbidden error.

Returns not found error.

Creates a proxy that lets you invoke functions based on the declared actions and loaders.

Redirect using the specified @param url.

Stop any config resolution and throw an exception that should be returned to the main handler.

Returns a response with given status and formatted error message if provided.

Returns a unauthorized error.

Creates a set of strongly-typed utilities to be used across the repositories where pointing to an existing function is supported.