CLI table output formatter for Node.js with TypeScript support. Current stable version 0.1.4, released sporadically. Provides a typed Table class with customizable borders, column alignment, grouping, and row styling. Unlike many CLI table libraries, it offers built-in group rendering and fine-grained border control. Ships TypeScript definitions and requires Node >= 6.0.
npm install table-styleNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a typed table with groups, styled header, and aligned columns, then renders to stdout.
Replace table.render(users, process.out) with process.stdout.write(table.render(users))
For rowStyles, use { border: { top: 'single', bottom: 'double' } } rather than a string.Test in target terminals or use without colors.
Do not pass a second argument; capture the returned string and write it manually.
Use import { Table } from 'table-style' instead of import Table from 'table-style'.Run npm install table-style and ensure import path is 'table-style' (no relative path).
Create an instance first: const table = new Table(options); table.render(data);
No dependency data recorded yet.