morgan
HTTP request logger middleware for Express and Connect applications.
Used in agent projects
53
0.4% of 12,697 public repos built with AI coding agents
Rank in logging, monitoring and analytics
#16 of 29
by use in those projects
Downloads
13.2M
npm, last 7 days, morgan
GitHub stars
8,201
last push Oct 1, 2026
How morgan is used
morgan is a dependency in 53 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.4%), #16 of 29 in logging, monitoring and analytics. The most used alternative there is Vercel Analytics. Projects that use it most often also use Express (98.1%), dotenv (83.0%), cors (75.5%).
Often used with morgan
| Express | 98.1% of morgan projects · 15.2× more than average |
|---|---|
| dotenv | 83.0% of morgan projects · 5.3× more than average |
| cors | 75.5% of morgan projects · 22.7× more than average |
| Helmet | 62.3% of morgan projects · 63.2× more than average |
| nodemon | 56.6% of morgan projects · 32.1× more than average |
| jsonwebtoken | 52.8% of morgan projects · 27.8× more than average |
| express-rate-limit | 45.3% of morgan projects · 54.8× more than average |
| compression | 37.7% of morgan projects · 84.1× more than average |
By coding agent
| GitHub Copilot | 0.8% of projects set up for it |
|---|---|
| Claude Code | 0.5% of projects set up for it |
| Cursor | 0.4% of projects set up for it |
Share of public repos configured for each agent that list morgan as a dependency.
Install
| Package | npm install morgan |
|---|---|
| Main stacks | TypeScript / JavaScript (45), Next.js (5), Rust (3) |
| Example projects | Doist/todoist-mcp, Vectreal/vectreal-platform, The-Great-Ape/server, Hackbyrd/orbital-express, Blackbox-Games-LLC/FullStack_InVaders |
Alternatives to morgan
| Tool | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|
| Vercel Analytics npm Real-time web analytics SDK for tracking traffic and user behavior. |
422 (3.3%) | 8.3M | 517 | MIT |
| pino-pretty npm Pretty-printer for Pino JSON logs to make terminal output human-readable. |
223 (1.8%) | 24.6M | 1,706 | MIT |
| Web Vitals npm Measure Core Web Vitals and other key performance metrics in JavaScript. |
222 (1.7%) | 48.7M | 8,640 | Apache-2.0 |
| Vercel Speed Insights npm Measure web performance metrics and get recommendations for improvement. |
167 (1.3%) | 5.6M | 116 | Apache-2.0 |
| psutil pypi Cross-platform library for retrieving process and system monitoring information. |
144 (1.1%) | 74.7M | 11.3K | BSD-3-Clause |
| Pino npm Ultra-fast JSON logger for Node.js with minimal overhead. |
129 (1.0%) | 53.3M | 18.2K | MIT |
| Sentry for Next.js npm Official Sentry SDK for error tracking and performance monitoring in Next.js apps. |
119 (0.9%) | 11.7M | 8,756 | MIT |
| Loguru pypi Simplified Python logging library with intuitive API and structured logging. |
108 (0.9%) | 16.4M | 24.1K | — |