log-update is a JavaScript utility for repeatedly updating terminal output in place instead of printing a new line for every change. It is particularly useful for progress bars, spinners, animations, dashboards, and other continuously changing command-line interfaces. The package performs partial redraws when possible to reduce visible flicker. Output can be written to either standard output or standard error. Developers can clear temporary content, finalize it, or permanently append selected messages to terminal scrollback. Custom log instances can target arbitrary streams and control cursor visibility. Fallback terminal width and height values can also be configured when stream dimensions are unavailable.
Features
- In-place terminal output updates
- Partial redraws for reduced flicker
- Standard output and standard error support
- Clear, finalize, and persistent output controls
- Custom stream logging instances
- Configurable cursor and fallback terminal dimensions
Categories
TerminalsLicense
MIT LicenseFollow log-update
Other Useful Business Software
Paessler: Easy to Use With Enterprise Power. Free Trial
You shouldn't have to choose between a monitoring tool that's easy to use and one that's powerful enough for a complex environment. PRTG's low-code interface lets any admin build dashboards, set alerts and monitor devices without scripting, while custom sensors and full API access are there when your team needs deeper control. One platform, no compromise. Download a free 30-day trial now.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of log-update!