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

x/pup/lib/cli/columns.ts>Columns

Universal process manager built in Deno
Go to Latest
function Columns
import { Columns } from "https://deno.land/x/pup@1.0.0-rc.10/lib/cli/columns.ts";

Formats an array of rows into a table with specified columns.

Parameters

rows: TableRow[]
  • The array of rows to be formatted.
columns: Column[]
  • The array of columns to be included in the table.

Returns

string

The formatted table string.