Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/acorn/util.ts

A focused RESTful server framework for Deno 🌰🦕
Go to Latest
import * as acorn from "https://deno.land/x/acorn@0.0.1/util.ts";

Classes

A class which provides an "unwraped" promise.

Functions

A type guard which determines if the value can be used as BodyInit for creating a body of a Response.

Generate a Response based on the original Request and an HttpError. It will ensure negotiation of the content type and will provide the stack trace in errors that are marked as exposeable.