Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.15/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.