blessed
A high-level terminal interface library for node.js
...It is designed to help developers build rich terminal applications with widgets, screens, layout behavior, input handling, and efficient rendering. The project reimplements ncurses-style behavior by working with terminfo and termcap data and exposing a Program object for terminal escape sequences. Its widget system feels more DOM-like than many low-level terminal libraries, making complex terminal interfaces easier to structure. The renderer optimizes screen updates with smart cursor movement, scroll-region support, back-color erase behavior, and a damage buffer. blessed is useful for dashboards, editors, terminal tools, monitoring interfaces, and other interactive command-line applications.