cli-table3

Pretty unicode tables for the command line, drop-in API-compatible with the original cli-table

Library
npm
v0.6.5
631stars
MIT License

Repository Health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
42/100Fair
Development Activity12
Maintenance20
Community48
Maturity60
Momentum28

Technical Analysis

AI-assessed by reading the actual repository — architecture, code quality, innovation, and documentation.How we score it →
64/100Good
Architecture62
Code Quality68
Innovation55
Learning Curve70

cli-table3 renders unicode-aided tables for Node.js command-line scripts, letting you print aligned, bordered, and colorized tabular data straight to a terminal. It is a maintained continuation of the original cli-table and cli-table2 packages, preserving full API compatibility while adding cell/row spanning, vertical alignment, word wrapping, and more robust handling of ANSI color codes inside cells.

Because the table itself is just an Array subclass, building one feels like ordinary JavaScript: push rows, splice them, or unshift a new one, then call .toString() to get terminal-ready output. Horizontal, vertical, and cross-tables are all supported out of the box, and custom border characters or per-cell styling let you match any CLI’s visual style.

What You Get

  • Horizontal, vertical, and cross-table layouts from the same API
  • Column and row spanning for merged cells
  • Per-cell styling: border characters, colors, and padding
  • Vertical alignment (top, bottom, center) and word wrapping on word boundaries
  • Truncation of cell text that safely accounts for embedded ANSI color codes
  • Full backwards compatibility with the original cli-table API

Common Use Cases

  • Printing command output (npm/yarn-style dependency lists, status reports) as aligned tables
  • Building admin/debug CLIs that need to display database rows or API responses legibly
  • Rendering comparison or summary tables in build/test tool output
  • Adding colorized, bordered output to internal developer tooling scripts

Under The Hood

Architecture - The table itself (src/table.js) extends the native Array, so pushing/splicing rows is just array manipulation; rendering runs through a LayoutManager (src/layout-manager.js) that computes column widths, resolves row/col spans, and merges border characters, before handing each cell to Cell (src/cell.js) for width-aware wrapping, padding, and truncation, and finally joining rows into the printed string. Tech Stack - Plain CommonJS JavaScript with two runtime dependencies: ansis for ANSI color styling and string-width for correct-width Unicode/wide-character measurement; builds and lints via ESLint, Prettier, and a Jest test/lint runner, with Yarn as the package manager. Code Quality - The test/ directory carries the full original cli-table test suite (original-cli-table-index-tests.js) plus dedicated suites per feature (colors, layout, cells, utils), giving strong regression coverage for a project of this size; code favors small, single-purpose modules over abstraction layers. API Design - The Array-subclass model keeps the day-to-day API tiny (new Table(opts), .push(), .toString()), which combined with strict backward compatibility with the original cli-table means most consumers reach working output within a few lines and existing cli-table users can drop it in without code changes.

Used by 18 apps in this directory

TypeScript
99%
Other

Activepieces

Automation · AI Assistants

23,887

Open-source AI automation platform that converts 280+ workflow integrations into MCP servers for LLMs, with no-code builders and TypeScript extensibility.

View details
92
Repo Health
85
Technical
65
Dependency
Built with
TypeScript99%
Updated today
TypeScript
94%
MIT

Actual

Invoicing Finance

28,224

Local-first personal finance with envelope budgeting, end-to-end encryption, and multi-device sync — no subscription required.

View details
93
Repo Health
85
Technical
77
Dependency
Built with
TypeScript94%
Updated yesterday
TypeScript
49%
MPL 2.0

Artillery

Devops · Developer Tools

9,054

Cloud-scale load testing and functional testing for APIs, WebSockets, gRPC, and headless browsers, distributed across AWS Lambda or Fargate with zero infrastructure to manage.

View details
89
Repo Health
73
Technical
68
Dependency
Built with
TypeScript49%
JavaScript48%
Updated 5 days ago
TypeScript
50%
Other

Dify

No Code Platforms · AI Development · Developer Tools

152,883

Visual LLM workflow platform with RAG pipelines, agent capabilities, and model management for building production AI applications.

View details
92
Repo Health
85
Technical
71
Dependency
Built with
TypeScript50%
Python47%
Updated today
TypeScript
98%
MIT

GraphQL Hive

Developer Tools · Devops · Monitoring

485

Open-source GraphQL schema registry and observability platform with breaking change detection, federation support, and CI/CD integration for teams of any size.

View details
90
Repo Health
81
Technical
70
Dependency
Built with
TypeScript98%
Updated today
TypeScript
97%
Other

Kibana

Analytics · Monitoring

21,251

Your open source window into the Elastic Stack — query, visualize, and act on data stored in Elasticsearch with real-time dashboards, AI-assisted search, and automated alerting.

View details
98
Repo Health
87
Technical
68
Dependency
Built with
TypeScript97%
Updated today
TypeScript
53%
MIT

MentraOS

Developer Tools · AI Development

2,314

The open source operating system and SDK that lets developers build one app and run it across smart glasses from Even Realities, Vuzix, Mentra Live, and more.

View details
92
Repo Health
77
Technical
67
Dependency
Built with
TypeScript53%
Java19%
Updated today
TypeScript
96%
AGPL 3.0

Midday

Invoicing Finance · Productivity

14,770

All-in-one AI-powered business operations platform for freelancers and solo entrepreneurs to manage invoicing, time tracking, banking, and financial intelligence.

View details
56
Repo Health
78
Technical
72
Dependency
Built with
TypeScript96%
Updated 2 months ago
TypeScript
92%
Other

n8n

Automation · No Code Platforms

201,152

Code when you need it, UI when you don't — the workflow automation platform built for technical teams who refuse to choose.

View details
95
Repo Health
87
Technical
66
Dependency
Built with
TypeScript92%
Updated today

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers

Search