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
$300 Free Credits to Build on Google Cloud
Put your $300 in credit toward real workloads, then keep building with free monthly usage for 20+ products. No commitment and no charge until you upgrade.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of log-update!