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

x/oak_nest/modules/redis/deps.ts

Refer to nestjs to realize some common functions for Deno
Go to Latest
import * as oakNest from "https://deno.land/x/oak_nest@v1.14.0/modules/redis/deps.ts";

Functions

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.

Connect to Redis server

Create a redis client from CommandExecutor

Create a lazy Redis client that will not establish a connection until a command is actually executed.

Set text color to green.

Inject decorator

Make the text italic.

Set text color to red.

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