Consola is an elegant console logger for Node.js and the browser, offering a consistent CLI-style output with styled or fallback formatting. It’s useful for redirecting `console` and stdout/stderr to a central logger, adding custom reporters, tagging logs, and supporting features like pausing/resuming logs and interactive prompts.
Project status
- Active maintenance: The repo shows a very recent upstream push (2026-06-07), and there are multiple tagged updates in the 2025 v3.4.x series, suggesting ongoing maintenance rather than abandonment.
- Update cadence: Tagged updates for v3.4.x came in quick succession during 2025 (v3.4.0 on 2025-01-13, v3.4.1 on 2025-03-17, v3.4.2 on 2025-03-18), followed by no additional tagged versions shown after v3.4.2 in the provided data.
AI summary generated Today
Recent updates
v3.4.2
3/18/2025v3.4.2 is primarily a set of console rendering fixes, including exporting additional tree-related utilities and improving the layout of the `box()` helper. The code diff also shows repo maintenance work around dependency cleanup and lockfile churn, though those items were not fully described in the provided release notes.
v3.4.1
3/17/2025v3.4.1 includes a fix to change how stack traces are cleaned up, specifically removing the error message lines from stack output. In addition to that behavioral change, the diff shows CI workflow adjustments and substantial devDependency and packageManager updates.
v3.4.0
1/13/2025v3.4.0 switches the internal prompt implementation to use upstream @clack/prompts and fixes box width calculation by ignoring ANSI escape sequences. The build output/type exports were adjusted for Node 16 TypeScript resolution, and multiple development dependencies were updated.
Featuresv3.3.3
12/26/2024v3.3.3 is a build-only release. The release notes state it reverts a prior change related to TypeScript node16 export/type resolution. The actual diff shows broader changes to the package.json `exports` map, including file extension and target changes for type and CommonJS resolution.
v3.3.2
12/26/2024v3.3.2 is a small patch release focused on build-time compatibility and packaging changes. It adds a Node 14 compatibility transformation to the bundled string-width dependency and updates the package exports typing layout to improve TypeScript resolution for Node 16+.
v3.3.1
12/23/2024Release v3.3.1 updates the fancy reporter to better handle environments where Intl is not available. The only functional code change is a safer detection path for Intl.Segmenter, with a fallback to a non-segmented width calculation.
v3.3.0
12/19/2024v3.3.0 adds new utilities and improves prompt and error handling. The biggest functional changes are the new `formatTree` utility (with max depth support), a configurable prompt cancel strategy, and enhanced error printing that includes `err.cause`.
Featuresv3.2.3
7/5/2023v3.2.3 is a small release focused on type-related fixes and minor repo maintenance. It includes adjustments to `box` typing, some backward-compatible type declaration exports, and a cleanup to the `spinner` example, plus an autofix CI workflow.
v3.2.2
6/28/2023v3.2.2 primarily updates the fancy reporter to work correctly on Node 14 by adjusting how string widths are computed. It also adds a package.json engines field to declare supported Node versions.
v3.2.1
6/27/2023v3.2.1 contains small formatting fixes for the `fancy` reporter underline behavior and the `box` reporter preset naming. The code diff shows two targeted changes matching the listed fixes.