ink

Active

vadimdemedes / ink

🌈 React for interactive command-line apps

Stars

39.3K

Forks

1.0K

NPM Downloads

-

Bundle (gzip)

-

OtherReactMITclicommand-lineflexboxinteractivejavascriptreact

Recent Releases

v7.1.0

- Add suspendTerminal()(https://github.com/vadimdemedes/inksuspendterminalcallback) to hand the terminal to a child process (972) 9e8ed1f --- https://github.com/vadimdemedes/ink/compare/v7.0.6.

Jun 17, 2026

v7.0.6

- Fix stale frames on Windows when output exactly fills the terminal (971) 2c08d55 --- https://github.com/vadimdemedes/ink/compare/v7.0.5...v7.0.6

Jun 12, 2026

v7.0.5

- Fix: Handle incomplete stack frames in error overview (965) b2350c1 --- https://github.com/vadimdemedes/ink/compare/v7.0.4...v7.0.5

May 29, 2026

v7.0.4

- Fix: Share resize listener via emitLayoutListeners instead of per-hook listeners (952) 89d43d8 - Fix: Remove useEffectEvent functions from useEffect dependency arrays (960) 9d534f7 --- http

May 24, 2026

v7.0.3

- Fix: Drop stale <Static> output from fullStaticOutput on identity change (950) 669c438 - Fix: <Static> remount via key change drops new items (948) be9f44c - Fix useBoxMetrics not accepting ref

May 13, 2026

v7.0.2

- Fix: Defer raw mode disable to prevent process hang on component swap dd052ea --- https://github.com/vadimdemedes/ink/compare/v7.0.1...v7.0.2

May 5, 2026

v7.0.1

- Fix: Restore useApp exit typing 42ddd40 - Fix: Respect disableFocus() when handling Escape (937) cb66873 --- https://github.com/vadimdemedes/ink/compare/v7.0.0...v7.0.1

Apr 17, 2026

v7.0.0

Major

Breaking - Require Node.js 22 19b5316 - Require React 19.2+ cfaebbb - Ink now uses useEffectEvent internally to avoid re-subscribing input handlers on every render - Pressing Backspace now

Apr 8, 2026

v6.8.0

Improvements - Add renderToString() for synchronous string output (868) 0a0c549 - Add support for react-devtools v7 (877) d633d7c - Allow exit() to pass a result value to waitUntilExit() 20b4

Feb 19, 2026