UNPKG

commanding

Version:

A simple yet practical command-Line application framework, written in TypeScript.

8 lines (7 loc) 506 B
declare type Table<T> = Array<Array<any>>; declare type TwoDimentionalArray<T> = Table<T>; export declare function rotateArrayBy90<T>(arrays: TwoDimentionalArray<T>): TwoDimentionalArray<T>; export declare function alignColumns(table: Table<any>, padding: number, paddingChar?: string, newLineChar?: string): string; export declare function marginLeft(content: string, margin: number, paddingChar?: string, newLineChar?: string): string; export declare function stripColor(str: string): string; export {};