Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

tailbone

0.1.0 • Public • Published

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

install

npm i tailbone

Downloadsweekly downloads

8

version

0.1.0

license

MIT

last publish

collaborators

  • avatar