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
Train ML Models With SQL You Already Know
Build and deploy ML models using familiar SQL. Automate data prep with built-in Gemini. Query 1 TB and store 10 GB free monthly.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of log-update!