GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - floatdrop/express-stackman: Enrich Express error handler which inserts source code within stack frames

This repository was archived by the owner on Aug 14, 2026. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

17 Commits
17 Commits

Folders and files

NameName
Last commit message
Last commit date
css
css
 
 
example
example
 
 
test
test
 
 
.editorconfig
.editorconfig
 
 
.gitignore
.gitignore
 
 
.jshintrc
.jshintrc
 
 
.npmignore
.npmignore
 
 
.travis.yml
.travis.yml
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
index.js
index.js
 
 
package.json
package.json
 
 

Repository files navigation

express-stackman NPM version Build Status Dependency Status

Enrich Express error handler which inserts source code within stack frames.

Usage

Install module:

npm i express-stackman --save

Insert middleware into your express application after all routes and other middlewares:

var app = require('express')();

app.get('/', function () {
    throw new Error('Bang!');
});

if (process.env.NODE_ENV === 'development') {
    app.use(require('express-stackman')());
}

Options

All options passed to stackman directly.

  • context - The lines of context to be loaded on each side of the callsite line (default: 7)

You can see instant example by doing this:

npm i
node example
open http://localhost:3000

screen shot 2014-11-02 at 6 41 19 pm

(If you not - write an issue, we will figure it out)

License

MIT (c) 2014 Vsevolod Strukchinsky ([email protected])

About

Enrich Express error handler which inserts source code within stack frames

Resources

Readme
MIT license
Activity

Stars

8 stars

Watchers

0 watching

Forks

1 fork
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.