unjs/consola
Some data may be outdated โ see provenance labels.
๐จ Elegant Console Logger for Node.js and Browser observed ยท 2026-10-02
Health v2 ยท maintenance only
78/100
- Activity 97
- 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-10-21. Adoption (stars, forks) is never an input.
- gap_med: 3.0
- age_days: 3125
- days_rel: 581
- days_push: 19
- n_releases_24m: 7
Adoption not part of the score
7336 stars ยท 225 forks observed ยท 2026-10-02
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-10-02 ยท 160489faefd7
- registry_npm: https://registry.npmjs.org/consola ยท fetched 2026-08-29 ยท 69398497ef2f
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| unjs/consola | main | 78 |
For agents
Data as of 2026-10-19T08:05:51.212177+00:00 ยท Report a problem