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

x/clarigen/src/deps.ts

Deno package for type-safe Clarinet tests
Go to Latest
import * as clarigen from "https://deno.land/x/clarigen@v0.4.2/src/deps.ts";

Enums

Get log level numeric values through enum constants

Functions

Make an assertion that actual and expected are equal, deeply. If not deeply equal, then throw.

Set text color to blue.

Make the text bold.

Returns the numeric log level associated with the passed, stringy log level name.

Set text color to gray.

Log with critical level, using default logger.

Log with debug level, using default logger.

Log with error level, using default logger.

Get a logger instance. If not specified name, get the default logger.

Log with info level, using default logger.

Setup logger config.

Log with warning level, using default logger.

Parses content as single YAML document.

Set text color to red.

Converts and format a variable number of args as is specified by format. sprintf returns the formatted string.

Stringify dumps source object into TOML string and returns it.

Set text color to yellow.

Type Aliases

Union of valid log level strings

Union of valid log level strings