ansi-escapes 7.x
Use ansi-escapes 7.x from ESM code to generate terminal escape-code strings for cursor movement, screen and line control, hyperlinks, images, and iTerm2 features.
- For
ansi-escapes@7.3.0- Verified
- 2026-09-08, 5 examples executed
- Package
@modootoday/pmcp-ansi-escapes@7.0.0
What it covers
- Runtime and module shape
- Cursor movement and position
- Erasing, scrolling, and screen control
- Hyperlinks, images, and iTerm2 features
- Writing the result
- Not covered
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 ansiEscapes, {cursorUp, cursorLeft} from 'ansi-escapes';
assert.equal(ansiEscapes.cursorUp(2), '\u001B[2A');
assert.equal(cursorUp(2) + cursorLeft, '\u001B[2A\u001B[G');
assert.equal(ansiEscapes.cursorLeft, cursorLeft);
What it did in the sandbox
Verifying this skill meant installing the package and running code against it with no route out. Nothing was observed. The full ledger lists every package examined, including the ones that never became a skill.
Nothing observed is not a finding of safety. It means one run, under one policy, produced nothing to report.
Getting it
With a subscription:
npx -y @modootoday/pmcp login
npx -y @modootoday/pmcp install @modootoday/pmcp-ansi-escapes
It installs as a dev dependency of your project, and the MCP server finds it there like any other skill.