cli-columns alternatives and similar modules
Based on the "Command Line Utilities" category.
Alternatively, view cli-columns alternatives based on common mentions on social networks and blogs.
-
KeyboardJS
A JavaScript library for binding keyboard combos without the pain of key codes and key combo conflicts. -
omelette
Omelette is a simple, template based autocompletion tool for Node and Deno projects with super easy API. (For Bash, Zsh and Fish) -
log-update
Log by overwriting the previous output in the terminal. Useful for rendering progress bars, animations, etc. -
insight
Node.js module to help you understand how your tool is being used by anonymously reporting usage metrics to Google Analytics -
multispinner
Multiple, simultaneous, individually controllable spinners for concurrent tasks in Node.js CLI programs -
ANSI Styles
CJS/ESM ANSI color library for CI, terminals and Chromium-based browser consoles. Compatible with Bun, Deno, Next.JS.
CodeRabbit: AI Code Reviews for Developers

* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of cli-columns or a related project?
README
cli-columns
Columnated lists for the CLI. Unicode and ANSI safe.
Install
$ npm install --save cli-columns
Usage
const columns = require('cli-columns');
const chalk = require('chalk');
const values = [
'blue' + chalk.bgBlue('berry'),
'็ฌ่ ่' + chalk.yellow('่นๆ็ฌ'),
chalk.red('apple'), 'pomegranate',
'durian', chalk.green('star fruit'),
'ใใคใใใใซ', 'apricot', 'banana',
'pineapple', chalk.bgRed.yellow('orange')
];
console.log(columns(values));
API
columns(values [, options]): String
values
{Array<String>}
Array of strings to display.options
{Object}
character
{String}
(default:' '
) Padding character.newline
{String}
(default:'\n'
) Newline character.padding
{Number}
(default:2
) Space between columns.sort
{Boolean}
(default:true
) Whether to sort results.width
{Number}
(default:process.stdout.columns
) Max width of list.
Sorts and formats a list of values into columns suitable to display in a given width.
Contribute
Standards for this project, including tests, code coverage, and semantics are enforced with a build tool. Pull requests must include passing tests with 100% code coverage and no linting errors.
Test
$ npm test
MIT ยฉ Shannon Moeller