cliui 9.x
Use cliui ^9.0.0 to build terminal UI strings with rows, columns, wrapping, padding, alignment, borders, and the single-string layout DSL.
- For
cliui@9.0.1- Verified
- 2026-09-08, 7 examples executed
- Package
@modootoday/pmcp-cliui@9.0.0
What it covers
- Version and module format
- Create and configure a UI
- Rows and columns with `div`
- Single-string layout DSL
- Append with `span`
- Reset accumulated output
- What this skill does not cover
One example from this skill
This is the skill's own text, not a summary of it. It runs: that is what verifying means here.
import assert from "node:assert/strict";
import cliui from "cliui";
const ui = cliui({});
ui.div("Usage: $0 [command] [options]");
assert.equal(typeof ui.toString(), "string");
assert.match(ui.toString(), /Usage: \$0/);
What it did in the sandbox
Verifying this skill meant installing the package and running code against it with no route out. This is what happened, quoted from the run. The full ledger lists every package examined, including the ones that never became a skill.
-
prepare: npm run compilethe package -
prepare: npm run compilethe package
Getting it
With a subscription:
npx -y @modootoday/pmcp login
npx -y @modootoday/pmcp install @modootoday/pmcp-cliui
It installs as a dev dependency of your project, and the MCP server finds it there like any other skill.