unjs/consola
🐨 Elegant Console Logger for Node.js and Browser observed · 2026-08-28
Health v2 · maintenance only
79/100
- Activity 99
- Release rhythm 40
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 3.0
- age_days: 3077
- days_rel: 533
- days_push: 7
- n_releases_24m: 7
Adoption not part of the score
7323 stars · 223 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Consola is an elegant console logger library for Node.js and browsers that wraps console output with fancy formatting, tags, and pluggable reporters. It also supports interactive prompts, console redirection, log throttling, and mocking.
Use cases
- pretty-print structured logs in a node cli
- replace console.log with a leveled logger
- add colored tags and icons to terminal output
- redirect console and stdout/stderr to a custom logger
- show interactive confirm and select prompts in the terminal
- log consistently in both browser and node environments
When to choose
- you want a drop-in, fancy console logger for node or browser apps
- you need pluggable reporters or console redirection
- you want lightweight interactive prompts without a full cli framework
When to avoid
- you need file-based or structured log shipping to external systems
- you need a full logging pipeline with log aggregation and alerting
- you only need the simplest possible console wrapper with zero dependencies
Facets
library · maturity stable
logging cli developer-tools developer-tools web-development browser cross-platform console-logger typescript reporters prompts unjs command-line nodejs
2 sources
- readme: https://github.com/unjs/consola · fetched 2026-08-28 · 160489faefd7
- registry_npm: https://registry.npmjs.org/consola · fetched 2026-08-29 · 69398497ef2f
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| unjs/consola | main | 79 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem