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

x/aleph/server/util.ts

The Full-stack Framework in Deno.
Go to Latest
import * as aleph from "https://deno.land/x/aleph@v0.3.0-alpha.4/server/util.ts";

Functions

cleanup the previous compilation cache

compute hash of the content

create html content by given arguments

fix import map

colorful the bytes string

  • dim: 0 - 1MB
  • yellow: 1MB - 10MB
  • red: > 10MB

get aleph pkg url.

get relative the path of to to from.

parse port number

Reponse an error jons to the request