# Automattic/cli-table

Pretty unicode tables for the CLI with Node.JS

Repository: https://github.com/Automattic/cli-table
Canonical: https://ross.abutalabs.com/products/cli-table
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2024-08-12T09:29:09+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 5720, "days_push": 751, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2294, forks 141 (observed 2026-08-28T04:06:35.059223+00:00)

## What it is
cli-table is a Node.js library for rendering pretty unicode tables in the command line from JavaScript scripts. It supports customizable border characters, colors, column widths, text alignment, truncation, and padding.

## Use cases
- print formatted tables in a node.js CLI script
- render unicode tables in terminal output
- display tabular data with custom column widths
- align and truncate text in CLI table columns
- draw vertical or cross tables for key-value output
- style CLI table headers with colors

## When to choose
- you need attractive unicode table output in a Node.js command-line tool
- you want customizable table borders, alignment, and truncation
- you need a lightweight, well-established npm table library

## When to avoid
- you are not working in Node.js or JavaScript
- you need rich text or markdown table rendering rather than terminal output
- you need interactive or scrollable tables rather than static printed output

## Facets
- artifact type: library
- maturity: maintenance
- function: cli, developer-tools
- domain: developer-tools
- platform: cli, cross-platform
- tags: unicode-tables, terminal-output, text-formatting, command-line, nodejs

## Member repositories
- Automattic/cli-table (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:35.059223+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:40:24.053795+00:00, confidence not recorded.
  - readme: https://github.com/Automattic/cli-table (fetched 2026-08-28T04:06:35.059223+00:00, sha 83998fd27600)
  - registry_npm: https://registry.npmjs.org/cli-table (fetched 2026-08-29T10:21:05.704031+00:00, sha 7199e260800d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
