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

x/aleph/server/helpers.ts

The Full-stack Framework in Deno.
Very Popular
Go to Latest
import * as aleph from "https://deno.land/x/aleph@1.0.0-alpha.55/server/helpers.ts";

Functions

Get the deployment ID.

Get the UnoCSS generator, return null if the presets are empty.

Stores and returns the fn output in the globalThis object

Stores and returns the fn output in the globalThis object synchronously.

init loaders in CLI mode, or use prebuild loaders

Load the import maps from the working directory.

Load the JSX config base the given import maps and the existing deno config.

restore the remote url from local path. e.g. /-/esm.sh/react@17.0.2 -> https://esm.sh/react@17.0.2

fix remote url to local path. e.g. https://esm.sh/react@17.0.2?dev -> /-/esm.sh/react@17.0.2?dev