node package manager
Loosely couple your services. Use Orgs to version and reuse your code. Create a free org »

express-die

express-die

express handler to kill your node process

Install

$ npm install express-die

Description

Kill your node process from a route, handy when used with a watcher that restarts it, useful for apps that misbehave.

It will also redirect to / after 5 seconds.

Usage

var die = require('express-die');
app.get('/die', die);

License

MIT