wesbos/express-stackman — explained in plain English
Analysis updated 2026-08-07 · repo last pushed 2017-01-09
Debug Express apps faster by seeing the code around each line in a stack trace.
Set up a more helpful development error page that shows source context inline.
Tune how many lines of surrounding code are shown when an error occurs.
| wesbos/express-stackman | clouder0/clouderblog | yyx990803/github-tab-size | |
|---|---|---|---|
| Stars | 4 | 4 | 4 |
| Language | CSS | CSS | CSS |
| Last pushed | 2017-01-09 | 2024-11-07 | 2014-12-04 |
| Maintenance | Dormant | Stale | Dormant |
| Setup difficulty | easy | easy | easy |
| Complexity | 2/5 | 2/5 | 1/5 |
| Audience | developer | writer | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires an existing Express app, intended for development use only, not production.
When a web app crashes, the error page usually shows a stack trace, a list of files and line numbers where things went wrong. But seeing "error at line 42 of app.js" isn't always helpful if you can't remember what's actually on that line. express-stackman fixes this by pulling in the actual source code around each line mentioned in the stack trace, so you can see exactly what your code was doing when it broke. It's designed for Express, a popular Node.js web framework. You add it to your app as a piece of middleware, essentially a plugin that sits between your routes and the outside world, and it kicks in only when an error occurs. Instead of a bare stack trace, you get an error page that shows the relevant lines of code surrounding each point in the call stack. By default it grabs seven lines of context on either side of the offending line, and you can adjust that number if you want more or less. This is a tool for developers working on Express apps, especially during local development. If you're iterating quickly, throwing test errors, and trying to track down bugs, seeing the code inline saves you from flipping back to your editor to check what a line actually says. The README notes it should only be used in development mode, not production, which makes sense since you don't want to expose source code to end users. One notable thing is its simplicity: it's a thin wrapper around another project called stackman, which does the actual work of extracting source code from stack frames. This project just makes it easy to drop that functionality into an Express app with minimal setup. It's a small, focused tool, it does one thing and doesn't try to be a full error-logging or monitoring solution.
An Express middleware that shows the actual source code around each line in a stack trace when your app crashes, so you can see what went wrong without flipping back to your editor.
Mainly CSS. The stack also includes Node.js, Express, JavaScript.
Dormant — no commits in 2+ years (last push 2017-01-09).
The license is not mentioned in the explanation, so the terms of use are unknown.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Don't trust strangers blindly. Verify against the repo.