Tty Table
Render structured data as cross-platform, text-wrapped ASCII/Unicode tables in terminals and browser consoles.
Tty Table is a TypeScript-first library designed for rendering visually appealing and functional ASCII/Unicode tables across various environments. It offers comprehensive support for Windows, Linux, and macOS terminals, as well as seamless integration with browser consoles. Beyond its core rendering capabilities, tty-table also includes an MCP server, enabling coding agents (like Claude or Cursor) to programmatically generate and display text-wrapped tables, making it an invaluable tool for enhancing documentation, CLI outputs, and interactive development experiences.
Características Principales
01Supports both ESM and CommonJS package exports
02MCP server integration for AI coding agents to render tables programmatically
03Browser and browser console compatibility for displaying tables
04ANSI-safe display-width calculation and Unicode-aware wrapping/truncation
05Cross-platform terminal table rendering (Windows, Linux, macOS)
06308 GitHub stars
Casos de Uso
01Enable AI coding agents to programmatically create and output formatted tables via the MCP server
02Generate aesthetically pleasing ASCII tables for README files or documentation
03Display structured data in command-line applications, including static and streaming output