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

x/deno_nest/deps.ts

Refer to nestjs to realize some common functions for Deno, support hono and oak
Go to Latest
import * as denoNest from "https://deno.land/x/deno_nest@v3.6.0/deps.ts";

Classes

Validation error description.

Enums

Standard HTTP status codes.

Variables

A record of all the status codes text.

Functions

Make an assertion, error will be thrown if expr does not have truthy value.

Set background color to blue.

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 text color to blue.

Make the text bold.

Return the extension of the path with leading period.

Takes an input date and a formatString to format to a string.

Set text color to green.

Make the text italic.

Set text color to red.

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

Resolves path segments into a path

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

Validates given object and reject on error.

Set text color to yellow.