Consola
Elegant console wrapper for better logging and output formatting in Node.js applications.
Dev workflow and config npm MIT
How Consola is used
Consola is a dependency in 13 of the 6,208 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 2,661, Ethereum and EVM 1,496, 3D and games 2,818, agent frameworks and SDKs 10,983); counting those, it appears in 32 projects, and what it is used with below comes from all of them. The most used alternative in our scan is chalk (179 projects). Projects that use it most often also use lint-staged (68.8%), Vitest (75.0%), tsx (62.5%).
Consola popularity over time
Gid Score 62: downloads 96, use in agent projects 34, GitHub stars 45, downloads trend 57 (each 0-100). How it is calculated.
Often used with Consola
| lint-staged | 68.8% of Consola projects · 8.8× more than average |
|---|---|
| Vitest | 75.0% of Consola projects · 3.6× more than average |
| tsx | 62.5% of Consola projects · 4.1× more than average |
| ESLint | 90.6% of Consola projects · 2.5× more than average |
| dotenv | 59.4% of Consola projects · 3.8× more than average |
| Vite | 65.6% of Consola projects · 3.4× more than average |
| Day.js | 53.1% of Consola projects · 36.2× more than average |
| glob | 53.1% of Consola projects · 27.3× more than average |
From all 32 projects in our scan that use Consola, including the dependency samples.
By coding agent
| Claude Code | 0.2% of projects set up for it |
|---|---|
| GitHub Copilot | 0.2% of projects set up for it |
| Cursor | 0.2% of projects set up for it |
Share of public repos configured for each agent that list Consola as a dependency.
Install
| Package | npm install consola |
|---|---|
| Main stacks | TypeScript / JavaScript (18), Next.js (14) |
| Example projects | lobehub/lobehub, eastlondoner/vibe-tools, vual/lobe-chat-pro, isaccanedo/lobe-chat, zAlweNy26/ts-cat |
Alternatives to Consola
Tools that do the same job, so a project picks one or the other. Add-ons and libraries used alongside Consola are not listed here; they are in "Often used with".
| Tool | Gid Score | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|---|
| chalk npm Terminal string styling library for colorful and formatted CLI output. |
78 | 179 (3.7%) | 289M | 23.3K | MIT |
More in Dev workflow and config: dotenv Husky python-dotenv lint-staged concurrently Rich Pydantic Settings cross-env