f
alignTrace

Relativize paths in stack trace, colorize, and reduce indent.

N
Ansi
No documentation available
v
Ansi.BG255
No documentation available
v
Ansi.bg255
No documentation available
v
Ansi.BLUE
No documentation available
v
Ansi.blue
No documentation available
v
Ansi.BOLD
No documentation available
v
Ansi.bold
No documentation available
v
Ansi.DIM
No documentation available
v
Ansi.dim
No documentation available
v
Ansi.escaped
No documentation available
v
Ansi.FG255
No documentation available
v
Ansi.fg255
No documentation available
v
Ansi.GRAY
No documentation available
v
Ansi.gray
No documentation available
v
Ansi.GREEN
No documentation available
v
Ansi.green
No documentation available
v
Ansi.ifColor
No documentation available
v
Ansi.NO_COLOR
No documentation available
v
Ansi.ORANGE
No documentation available
v
Ansi.orange
No documentation available
v
Ansi.PURPLE
No documentation available
v
Ansi.purple
No documentation available
v
Ansi.RED
No documentation available
v
Ansi.red
No documentation available
v
Ansi.RESET
No documentation available
v
Ansi.reset
No documentation available
v
Ansi.YELLOW
No documentation available
v
Ansi.yellow
No documentation available
f
Arg

Append command-line arguments to a command invocation.

f
T
Async

Handle T or Promise<T> as Promise<T>

f
T
AsyncIter

Add Symbol.asyncIterator to an object.

T
Base
No documentation available
v
Base16
No documentation available
v
Base64
No documentation available
v
Base9
No documentation available
f
Bin

Specify a binary data file.

N
Borsh
No documentation available
T
Borsh.AnyField

Borsh encoding and decoding.

v
Borsh.array

A fixed-length ordered collection.

v
Borsh.bool

A boolean value.

v
Borsh.compact

A Zcash compact integer.

f
Borsh.decode
No documentation available
f
Borsh.encode
No documentation available
v
Borsh.f32

A 32-bit floating point number.

v
Borsh.f64

A 64-bit floating point number.

T
Borsh.Field
No documentation available
T
Borsh.Fields
No documentation available
v
Borsh.float
No documentation available
v
Borsh.i128

A 128-bit signed integer.

v
Borsh.i16

A 16-bit signed integer.

v
Borsh.i256

A 256-bit signed integer.

v
Borsh.i32

A 32-bit signed integer.

v
Borsh.i64

A 64-bit signed integer.

v
Borsh.i8

An 8-bit signed integer.

v
Borsh.map

A key-value map.

v
Borsh.nativeFloats
No documentation available
v
Borsh.nativeInts
No documentation available
v
Borsh.option

Either a value or NULL.

c
Borsh.Reader

Contains the state of a decoding operation.

v
Borsh.set

A variable-length unordered collection.

v
Borsh.signed

A signed integer.

v
Borsh.string
No documentation available
f
Borsh.Struct
No documentation available
v
Borsh.struct

A structure with pre-defined fields of various types.

v
Borsh.u128

A 128-bit unsigned integer.

v
Borsh.u16

A 16-bit unsigned integer.

v
Borsh.u256

A 256-bit unsigned integer.

v
Borsh.u32

A 32-bit unsigned integer.

v
Borsh.u64

A 64-bit unsigned integer.

v
Borsh.u8

An 8-bit unsigned integer.

v
Borsh.unit

The unit type (empty).

v
Borsh.unsigned

An unsigned integer.

f
Borsh.variant
No documentation available
v
Borsh.variants

An enum variant which may have additional data attached.

v
Borsh.vec

A variable-length ordered collection.

c
Borsh.Writer

Contains the state of an encoding operation.

v
Borsh.zArray
No documentation available
v
Borsh.zOptional
No documentation available
v
Borsh.zVec
No documentation available
T
v
Bytes

Alias for various buffer types.

f
camelize
No documentation available
f
chunked
No documentation available
f
chunks
No documentation available
f
T
Connect
No documentation available
T
Decimal

Decimal fraction of fixed bitness.

T
Decimal128
No documentation available
T
Decimal256
No documentation available
T
Decimal64
No documentation available
f
defer

Create promise, Leaking resolve and reject methods from the executor, which allows the promise to be resolved from elsewhere.

f
T
T
DirEntry

A function that created an entry in a directory.

v
DOM

Create a DOM tree in a DocumentFragment.

f
dT
No documentation available
f
dumpBraille
No documentation available
f
dumpHex
No documentation available
f
either

Specify a ternary condition.

f
Env

Set environment variable in run config.

c
f
T
Exec

Run a command and wait for result.

T
Falsy

False, zero, empty string, null, undefined, zip, nada, zilch.

f
T
Flag

Specify a flag.

f
T
Fn

Partial application of a function. Use this to prepare a function with arguments for testing.

f
formatError
No documentation available
f
getStringifier

A stringifier that doesn't fail on bigint and circular refs.

v
glued
No documentation available
T
Hash

Hash.

T
HashAlgo

Names of known hash types.

T
Hashed

Hashed item.

N
Http
No documentation available
v
Http.get

Only handle if HTTP method is GET.

v
Http.guard

If condition doesn't match, return with specified code.

T
Http.Handler

URL route handler.

T
Http.Http

HTTP context.

v
Http.matchRoute

Match URL from request against route patterns.

v
Http.method

Only handle if HTTP method matches.

v
Http.param

Set request parameter.

v
Http.post

Only handle if HTTP method is POST.

T
Http.Route

URL route.

v
Http.route

Define URL route.

T
v
Http.serveHttp

Define HTTP server.

T
Http.Server
No documentation available
f
identity

The identity function.

f
interval
No documentation available
f
isMain
No documentation available
f
joined
No documentation available
f
joiner
No documentation available
v
lines
No documentation available
f
T
Listen
No documentation available
f
T
Main

If the current module is the program entrypoint, runs the given main function as a separate task.

f
Markdown

Define a Markdown file.

T
Maybe

Soft optional.

f
merged
No documentation available
T
Meta

Used to recognize entrypoint.

f
msec
No documentation available
f
T
Name

Set the name of something. Optionally, assign metadata.

f
nop

Return the identity function.

T
Nullish

Null or undefined.

T
Num
No documentation available
v
Omit

Shallow clone except certain keys.

f
Pick

Shallow clone only certain keys.

f
pickRandom
No documentation available
f
T
Pipe

Combine functions, passing return value of each step as first argument to next step.

f
Port

Run a service and wait for it to provide a port.

f
T
Ports

Add ports to context.

f
portWait

Define function that will wait for given port to open.

N
Project
No documentation available
v
Project.Bacon

Add Bacon to a project.

T
Project.Crate

Cargo package manifest

T
Project.CrateDep

Cargo dependency

v
Project.eslintConfig
No documentation available
v
Project.gitignore

Define the project's Git ignorelist.

v
Project.Js

Define JavaScript file.

v
Project.Json

Define JSON file.

v
Project.Mold

Add Mold to a project.

v
Project.PackageJson

Define NPM package manifest.

T
v
Project.Project

An application project.

v
Project.Readme

Define the project's README.

T
v
T
Project.Semver

Semantic version.

v
Project.textFormat

Define text file format.

v
Project.Toml

Define TOML file.

v
Project.Ts

Define TypeScript file.

v
Project.tsConfig
No documentation available
T
Project.Versioned

Versioned component.

v
Project.Yaml

Define YAML file.

T
Prototype
No documentation available
f
randomBech32

Generate random valid bech32 address. Default length is 32 bytes (canonical addr in Cosmos)

f
randomBech32m

Generate random valid bech32m address.

f
randomBytes

Generate Uint8Array of given length.

f
randomId
No documentation available
T
Read

Read from stream.

f
readBytes

Read between min and max bytes.

T
Reader

Input stream reader.

f
readUntilDone

Read whole stream.

T
Reflects

Annotations added by [Name].

T
Returns

Function return type.

f
T
Run

Compose command invocation from options.

T
RW

Connection to Read & Write pair.

f
see
No documentation available
f
Seq

Run functions sequentially in the same context, ignoring return values.

f
T
Service

Define a service.

f
setProp
No documentation available
f
Simf
No documentation available
v
spaced
No documentation available
f
T
Spawn

Run a background service.

f
stackTrace

Generate a stack trace.

f
T
Step

Add originating test step to stack trace.

T
Steps

A function that composes multiple steps into one step.

T
StepsWith

A function that composes multiple steps and adds an annotation.

f
str
No documentation available
f
stringify

Stringify an object with optional custom indentation, and also without failing on bigint and circular refs.

T
Stringy

String, or something with a toString method.

f
SVG

Create a SVG tree in a DocumentFragment.

T
Takes

Function arguments.

f
tcpAddr

Resolve TCP address.

f
Temp

Specify a temporary directory.

N
Test
No documentation available
f
T
Test.Categories

Define result categories.

f
T
Test.Category

Define result category.

f
Test.equals

Confirm that return value of previous test step is deeply, strictly equal to expected value.

T
Test.Frame

Test stack frame.

f
Test.has

Confirm that object has key. Optionally, confirm predicates about the value of that key.

f
Test.includes

Confirm that string or array includes an expected value.

f
Test.is

Confirm that value returned by previous test step is of given type. Optionally, confirms other predicates about the value.

f
T
Test.Options

Parse test filters.

f
T
Test.Stack

Define test stack.

T
Test.State

Test category name.

f
T
Test.Step

Ensure test step is function.

f
Test.suite

Test entrypoint. When test module is run (not imported), tests in the suite run, and a report is printed.

T
v
Test.Testing

Test stack and context. Passed to eacgh step as second argument.

f
Test.the

Test case. Consists of name and zero or more test steps.

T
Timed

Start time and duration.

f
timestamp
No documentation available
f
todo

Stub test step. When reached, terminates without passing or failing, and adds a task to the test report.

f
toHex
No documentation available
f
toRead

Convert the owner of a readable to a Read function.

f
toRW

Convert owner of readable & writable to Read & Write pair.

f
toString

Define the toString method on an object's prototype.

f
toWrite

Convert the owner of a writable to a Write function.

f
traceConsole

Enable tracing for all console.log calls, colorize them, and reroute to stderr.

N
TUI
No documentation available
v
TUI.at
No documentation available
v
TUI.draw
No documentation available
T
TUI.FrameTimings
No documentation available
v
TUI.runInput
No documentation available
v
TUI.runOutput
No documentation available
T
TUI.Tui
No documentation available
v
TUI.tuiContext
No documentation available
T
TUI.TuiIn
No documentation available
T
TUI.TuiOut
No documentation available
f
Txt

Specify a text file.

T
Uint

Unsigned integer of fixed bitness.

T
Uint128
No documentation available
T
Uint256
No documentation available
T
Uint64
No documentation available
v
UTF8
No documentation available
N
Watch
No documentation available
f
Watch.denoCheck

Run a typecheck on file update.

v
Watch.entrypoint

Entrypoint that reruns on file change.

f
Watch.runTest

Run a test suite on file update.

f
Watch.watch

Run a watcher function.

f
when

Specify a binary condition.

f
withCatcher
No documentation available
f
withInfiniteStack

Set Error.stackTraceLimit to Infinity, run a function, then restore its previous value.

f
wordWrap
No documentation available
T
Write

Write to stream.

f
write

Specify write operation.

T
Writer

Output stream writer.

f
writeTo

Specify write target.

f
Zip

Specify a ZIP archive.