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
One Monitoring Tool for IT, OT and Cloud | Free Trial
Modern infrastructure spans data centers, cloud platforms and factory floors, and every blind spot between them is a risk. PRTG supports SNMP, WMI, SSH and other standard protocols to monitor IT, OT and hybrid environments through one customizable dashboard. Build the views your team needs, from network health to application performance, without switching tools. Try PRTG free for 30 days now.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of log-update!