@types/cli-table
- Version 0.3.4
- Published
- 6.43 kB
- No dependencies
- MIT license
Install
npm i @types/cli-table
yarn add @types/cli-table
pnpm add @types/cli-table
Overview
TypeScript definitions for cli-table
Index
Classes
class Table
class Table<T extends TableRow = TableRow> extends Array<T> {}
constructor
constructor( options?: TableOptions<HorizontalTableRow> | TableOptions<VerticalTableRow>);
Table constructor
Parameter options
public
constructor
constructor(options: TableOptions<CrossTableRow> & { head: ['', ...string[]] });
property version
static readonly version: string;
property width
readonly width: number;
Width getter
width public
method render
render: () => string;
Render to a string.
table representation public
method toString
toString: () => string;
Render to a string.
table representation public
Package Files (1)
Dependencies (0)
No dependencies.
Dev Dependencies (0)
No dev dependencies.
Peer Dependencies (0)
No peer dependencies.
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@types/cli-table
.
- Markdown[![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@types/cli-table)
- HTML<a href="https://www.jsdocs.io/package/@types/cli-table"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 3782 ms. - Missing or incorrect documentation? Open an issue for this package.