Module

x/cliffy/packages/table/lib/utils.ts>longest

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Go to Latest
function longest
import { longest } from "https://dotland.deno.dev/x/cliffy@v0.6.0/packages/table/lib/utils.ts";

Get longest cell from given row index.

Parameters

index: number
rows: (string | String)[][]
optional
maxWidth: number

Returns

number