tailbone

an error handler modular app for express apps.

npm install tailbone
13 downloads in the last week
40 downloads in the last month

tailbone

  • an error handler node module
  • a modular app of express, only do one thing: render error pages for main(parent) app.

install

npm install tailbone

usage

  var Tailbone = require('tailbone');
  var express  = require('express');

  var tailbone = Tailbone.create();
  var app      = express();

  app.get('/e', function (req, res, next) {
    next(new Error('500 error found'));
  });

  tailbone.enable(app);

  app.listen(3000);

detail

pls see examples

npm loves you