Consola
Reasonable, with limits. 5th of 9 logging libraries.
Consola is the UnJS console logger used by Nuxt and Nitro. It gives pretty terminal output, a browser build, prompts and helpers like boxes and trees. It is good for CLIs and dev-time output, but it has had no release since March 2025, its v4 roadmap has stalled, and it is weak for structured production logs, where Pino or LogTape do the job better.
Best for: Authors of CLI tools and Nuxt/UnJS projects who want readable, pretty console output with zero dependencies.
Scores
Overall5.9
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 5.0, likely 4.0 to 6.0
Consola is a pleasant, dependency-free logger for CLIs and Nuxt/UnJS projects. Maintenance has stalled, with no release in 20 months and the v4 plan unshipped, and it lacks structured production logging. Pino, and LogTape for modern multi-runtime libraries, are better picks for app logs. Consola remains reasonable when pretty console output is the main need.
- npm latestPublishedAt: Last release 2025-03-18
- peers Pino / LogTape: Peers are actively released and growing faster
- github.com/unjs/consola/issues: Unanswered bugs and a stalled v4 roadmap
GPT-6.2 Sol: 6.7, likely 5.5 to 7.8
Consola is a reasonable new choice when readable CLI or browser output is the main requirement and custom reporting is occasional. Pino is the stronger choice for high-volume Node.js services that need JSON output and redaction. The long release gap and open compatibility report limit confidence in Consola as toolchains change.
- github.com/unjs/consola/blob/v3.4.2/README.md: Shows the readable defaults, browser support, and custom reporter API.
- tech.algomatic.jp/entry/2026/11/05/194657: The independent comparison favors Consola for developer tools and Pino for high-throughput services.
- github commitsLastYear, npm latestPublishedAt, peers: Slow recent maintenance compared with active peers.
- github.com/unjs/consola/issues/441: An open compatibility report affects some TypeScript 7 tooling setups.
Needed by many6.2
How many developers need a tool for this job?
Claude Opus 5.5: 6.0, likely 5.0 to 7.0
Logging is needed in most projects. Consola's take, which is pretty console output for CLIs and dev tools that works in Node and the browser, serves a large group but not production structured logging. That makes it a bit narrower than the category.
- github description: Elegant console logger for Node.js and browser
- dev.to/chintanshah35/winston-vs-pino-in-2026-a-production-tested-comparison-6o0: Suggested when one logger must run on frontend and backend
GPT-6.2 Sol: 6.3, likely 5.2 to 7.4
Consola covers Node.js and browsers without tying callers to a framework, and its formatting is useful across CLIs, build tools, and development scripts. Teams that need machine-readable service logs get less of what they need out of the box. Runtime surveys show how many developers work in its target environments, but give little indication of how many need a separate console logger.
- 2025.stateofjs.com/en-US/other-tools/#js_runtimes: Node.js and browsers lead reported runtime use.
- github.com/unjs/consola/blob/v3.4.2/README.md: Documents browser and Node.js builds and console-focused features.
- tech.algomatic.jp/entry/2026/11/05/194657: Independent evaluation identifies CLIs and developer tools as the best fit.
Helps a lot6.3
How well does it do the job for those who need it?
Claude Opus 5.5: 5.5, likely 4.5 to 6.5
It is excellent for human-readable output: fancy reporters, tags, throttling, prompts, boxes, trees and mocking. Its types ship with the package. It lacks a built-in JSON format, transports and serializers, so production logging needs custom reporters, and Pino does that job far better. Open bugs on types and reporters remain unfixed.
- github.com/unjs/consola: Feature set: reporters, prompts, browser builds, mocking
- github.com/unjs/consola/issues: Open requests for a JSON format (#420) and unfixed bugs in types and reporters
- npm hasTypes: Ships TypeScript types
GPT-6.2 Sol: 7.0, likely 5.9 to 8.1
Version 3.4.2 makes ordinary logging easy to implement with documented levels, tags, built-in formatters, and test hooks. Production JSON requires a custom reporter and explicit error serialization to preserve stack traces. A reported legacy declaration problem affects some TypeScript 7 tooling setups. Pino led a Node.js file-output benchmark by about 2.4 times, though throughput depends on the workload and destination.
- github.com/unjs/consola/blob/v3.4.2/README.md: Documents built-in reporters, levels, mocking, and a custom JSON example.
- github.com/unjs/consola/issues/420: Users requested a built-in JSON format for log aggregation.
- github.com/unjs/consola/issues/441: Reports legacy declarations causing named imports to fail under tsgo.
- tech.algomatic.jp/entry/2026/11/05/194657: Shows why a JSON reporter needs to serialize errors explicitly.
- shoppercove.com/blog/consola-vs-pino: Measured about 155,000 lines per second for plain Consola and 371,000 for Pino.
Holds up over time4.4
Will it still be a good choice in two years?
Claude Opus 5.5: 4.5, likely 3.5 to 6.0
There have been no releases in the last year and only one commit, a Renovate bump. Issues from 2025 and 2026 sit unanswered, and the v4 roadmap has stalled. Because Nuxt and Nitro depend on it, the UnJS team has a reason to keep it alive. That keeps the score from going lower, but releases depend largely on one person.
- github commitsLastYear / releasesLastYear: 1 commit, 0 releases in the last year
- github.com/unjs/consola/commits/main: Last non-bot commits are from March 2025
- github.com/unjs/consola/issues: v4 roadmap pinned since Dec 2024; recent bugs have no replies
- nuxt.com/docs/4.x/api/kit/logging: Nuxt Kit's logger is built on consola
GPT-6.2 Sol: 4.3, likely 3.2 to 5.6
Consola recorded one commit and zero releases in the last year, well behind Pino and LogTape. The latest stable release dates to March 2025, and a proposed fix for the reported TypeScript problem remains open. Continued use in Nuxt helps, but the v4 roadmap proposes an ESM-only release without a date, leaving future compatibility and maintenance uncertain.
- github commitsLastYear, releasesLastYear, latestRelease: One commit, zero releases, and the latest release in March 2025.
- peers commitsLastYear: Pino recorded 82 commits and LogTape recorded 906.
- github.com/unjs/consola/pull/443: The proposed legacy declaration fix remains open.
- github.com/unjs/consola/issues/335: The open v4 roadmap proposes ESM-only distribution and gives no release date.
- github.com/nuxt/nuxt/blob/v4.6.3/packages/nuxt/package.json: Nuxt 4.6.3 lists Consola as an app runtime dependency.
Used widely6.8
How many use it, and is that growing?
Claude Opus 5.5: 7.0, likely 6.0 to 8.0
Downloads are about 265M per 4 weeks. Most are transitive installs through Nuxt, Nitro and UnJS tools, so few of them are direct choices. The year-over-year ratio of 3.3 is below the 4.1 median, so it is losing ground. About 299k dependent repos is a high count, comparable to winston and well above Pino, though Nuxt scaffolds inflate it.
- npm downloadsLast4Weeks: 265M now vs 81M a year ago, a ratio of 3.3, below the 4.1 median
- dependents repos: 298,638 repos and 2,912 packages
- bluesky posts: Only 4 posts, low attention
GPT-6.2 Sol: 6.5, likely 5.2 to 7.8
Ecosyste.ms found about 299,000 dependent repositories and 2,900 packages, which puts Consola near Winston by repository count. Popular tools such as Nuxt bring Consola into other projects automatically, so the raw counts overstate how often developers choose the logger themselves. Downloads rose from 80.8 million to 265.2 million, or 3.28 times, below the 4.1 catalog median and Pino's 5.10. That points to lost ground on the download measure, while sparse public discussion makes the direct adoption trend harder to judge.
- dependents and peers dependentRepos: 298,638 repositories and 2,912 packages, with a repository count close to Winston's.
- npm downloadsLast4Weeks, npm downloadsSame4WeeksYearAgo, medianDownloadsRatio, peers: Consola grew 3.28 times against a 4.1 catalog median and 5.10 for Pino.
- github stars, bluesky posts, hackerNews stories: 7,351 stars, four Bluesky posts, and zero matched Hacker News stories.
- github.com/nuxt/nuxt/blob/v4.6.3/packages/nuxt/package.json: Nuxt gives Consola substantial indirect distribution.
Vouched for6.2
Who stands behind it being good?
Claude Opus 5.5: 5.5, likely 4.5 to 6.5
Nuxt, Nitro and the UnJS ecosystem build on it, which is strong backing from one source. Independent comparisons rarely cover it. They mention it only as a browser or CLI option, and I found no benchmark or survey data for it.
- nuxt.com/docs/4.x/api/kit/logging: Nuxt uses consola for useLogger
- betterstack.com/community/guides/logging/best-nodejs-logging-libraries.md: Not among the top 8 Node loggers in this guide
- hackerNews stories: No HN stories
GPT-6.2 Sol: 6.8, likely 5.7 to 7.9
Nuxt ships Consola, and Rolldown uses it for its CLI logger. Two recent independent evaluations support using it for output people read directly. The evidence is strongest for tooling, with little survey data on satisfaction or evidence of widespread production JSON logging.
- github.com/nuxt/nuxt/blob/v4.6.3/packages/nuxt/package.json: Nuxt declares Consola as a runtime dependency.
- github.com/rolldown/rolldown/pull/11257: A merged change confirms current CLI use and records an import-time cost.
- tech.algomatic.jp/entry/2026/11/05/194657: An independent five-logger comparison recommends Consola for CLI and developer tools.
- shoppercove.com/blog/consola-vs-pino: A separate hands-on evaluation also favors Consola for human-readable output.
Safe7.9
How safe is it to depend on?
Claude Opus 5.5: 8.0, likely 7.0 to 9.0
It has zero dependencies, no known advisories ever, and an MIT licence on npm. There is no OpenSSF Scorecard. Releases are made by one maintainer, and the long gap without releases means fixes would be slow if a problem appeared.
- npm dependencies: 0 runtime dependencies
- advisories total: No OSV advisories
- scorecard: No Scorecard data
- npm license: MIT
GPT-6.2 Sol: 7.7, likely 6.4 to 8.9
The published package has zero runtime dependencies, uses the permissive MIT licence, and has zero advisories in OSV. The release script runs tests and a build before calling npm publish, and npm lists two collaborators. The repository lacks a published security policy, and an external repository scan flags weak review coverage and broad workflow token permissions. Release provenance and response speed to a future security report remain uncertain.
- npm dependencies, npm license, advisories total, scorecard: Zero installed dependencies, MIT, zero OSV advisories, and no bundled Scorecard result.
- github.com/unjs/consola/blob/v3.4.2/package.json: The release script tests and builds before publishing to npm.
- npmjs.com/package/consola?activeTab=versions: The registry lists two collaborators.
- github.com/unjs/consola/security: GitHub reports no security policy file and no published security advisories.
- inspect.software/software/unjs/consola: A third-party repository scan flags weak code review and token permissions.
Good
- Zero runtime dependencies, with small basic, core and browser builds.
- Pretty terminal output plus prompts, boxes, trees and tags make it handy for CLI tools.
- One API works in Node.js and the browser, and it can wrap console and stdout for tests or mocking.
- Nuxt, Nitro and many UnJS tools depend on it, so it is widely tested in practice.
Bad
- No release since v3.4.2 in March 2025, and only bot commits since then.
- No built-in structured JSON output, transports or serializers for production log pipelines.
- New bug reports pile up without fixes, for example on Error.cause cycles, throttling and type export mismatches.
- The v4 roadmap, pinned since December 2024, has not shipped.
The numbers
- npm downloads, 4 weeks
- 265M ×3.3 in a year
- GitHub stars
- 7.4k
- Commits, 12 months
- 1
- npm version
- 3.4.2 Mar 2025
- Versions, 12 months
- 0
- Advisories, 24 months
- 0 of 0 ever
- OpenSSF Scorecard
- None
- Licence
- MIT
Read on 21 November 2026 from GitHub (unjs/consola), npm (consola), OSV and the OpenSSF Scorecard.