unjs/consola

🐨 Elegant Console Logger for Node.js and Browser

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 38 minutes ago
Added to GitGenius on September 9th, 2026
Created on March 31st, 2018
Open Issues & Pull Requests: 92 (+0)
GitHub issues: Enabled
Number of forks: 223
Total Stargazers: 7,324 (+0)
Total Subscribers: 30 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 2.1 days
Mean response time: 97.7 days
90th percentile: 404.7 days
Tracked items: 66

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 83% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Work labelled "bug" is answered fastest, typically in about 2 days, while "enhancement" waits about 3 weeks. Only 2% of issues opened in the past year have been closed. Three people close 96% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 29
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 600 days
Stale 30+ days: 26
Stale 90+ days: 25

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • bug (25)
  • enhancement (17)
  • needs reproduction (2)
  • documentation (1)
  • propmpts (1)

Most active issues this week

Detailed Description

Consola is an elegant console logger for Node.js and browser environments that wraps and enhances standard console output.

The tool addresses the need for consistent, visually appealing logging across different runtime environments. It provides fancy formatted output with automatic fallback for minimal environments, allowing developers to maintain a polished CLI experience without sacrificing compatibility. The core approach uses pluggable reporters that handle output rendering, enabling customization while keeping the API simple. The tool can globally redirect console and stdout/stderr streams to consola handlers, then restore them on demand. It supports tagging for organized logging, pause/resume functionality for controlling output flow, and throttling to prevent log spam.

Consola suits projects that prioritize user-facing CLI output quality or need consistent logging behavior across Node.js and browser contexts. Teams building command-line tools, build systems, or development utilities will find the fancy output and tag support particularly useful. The tool offers a smaller core build option that reduces bundle size by eighty percent for projects that don't need the full reporter, making it viable for size-conscious applications. Interactive prompt support powered by an external library enables building conversational CLI experiences. The project distinguishes itself through mocking support for testing and the ability to pause logs globally while maintaining a queue for later resumption.

Development activity shows consistent maintenance with regular updates addressing user needs. The project demonstrates responsiveness to issues and pull requests across multiple categories. Code quality is maintained through active testing and refinement of features. The maintainers actively expand capabilities based on community feedback while preserving backward compatibility.