0.1.0 • Published 10 years ago

express-die v0.1.0

Weekly downloads
2
License
-
Repository
-
Last release
10 years ago

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