Skip to main content
Module

x/leaves/deps.ts

A Web framework For Deno with Decorator and middleware
Latest
import * as leaves from "https://deno.land/x/leaves@v0.1.5/deps.ts";

Namespaces

This file was copied from https://github.com/rbuckton/reflect-metadata/blob/v0.1.12/Reflect.ts and slightly modified to fix all type errors that Deno reported.

Classes

Reader for parsing multipart/form-data

Enums

HTTP status codes

Variables

Alias of querystring.parse()

Alias of querystring.stringify()

Functions

Set background color to black.

Set background color to blue.

Set background color to bright black.

Set background color to bright blue.

Set background color to bright cyan.

Set background color to bright green.

Set background color to bright magenta.

Set background color to bright red.

Set background color to bright white.

Set background color to bright yellow.

Set background color to cyan.

Set background color to green.

Set background color to magenta.

Set background color to red.

Set background color using 24bit rgb. color can be a number in range 0x000000 to 0xffffff or an Rgb.

Set background color using paletted 8bit colors. https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit

Set background color to white.

Set background color to yellow.

Set text color to black.

Set text color to blue.

Make the text bold.

Set text color to bright black.

Set text color to bright blue.

Set text color to bright cyan.

Set text color to bright green.

Set text color to bright magenta.

Set text color to bright red.

Set text color to bright white.

Set text color to bright yellow.

Set text color to cyan.

The text emits only a small amount of light.

Get whether text color change is enabled or disabled.

Set text color to gray.

Set text color to green.

Make the text hidden.

Invert background color and text color.

Make the text italic.

Set text color to magenta.

Set text color to red.

Reset the text modified

Set text color using 24bit rgb. color can be a number in range 0x000000 to 0xffffff or an Rgb.

Set text color using paletted 8bit colors. https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit

Set changing text color to enabled or disabled

Put horizontal line through the center of the text.

Remove ANSI escape codes from the string.

Make the text underline.

Set text color to white.

Set text color to yellow.

Given an extension or media type, return the full Content-Type header string. Returns undefined if not resolvable.

Shorthand for new TextDecoder().decode()

Shorthand for new TextEncoder().encode()

Synchronous version of expandGlob().

Applies a set of decorators to a target object.

Define a unique metadata entry on the target.

Deletes the metadata entry from the target object with the provided key.

Gets the metadata value for the provided metadata key on the target object or its prototype chain.

Gets the metadata keys defined on the target object or its prototype chain.

Gets the metadata value for the provided metadata key on the target object.

Gets the unique metadata keys defined on the target object.

Gets a value indicating whether the target object or its prototype chain has the provided metadata key defined.

Gets a value indicating whether the target object has the provided metadata key defined.

A default metadata decorator factory that can be used on a class, class member, or parameter.

Create a HTTP server

Create an HTTPS server with given options

Same as walk() but uses synchronous ops

Interfaces

FormFile object

Interface of HTTP server response. If body is a Reader, response would be chunked. If body is a string, it would be UTF-8 encoded by default.