express-die

0.1.0 • Public • Published

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

Dependencies (0)

    Dev Dependencies (2)

    Package Sidebar

    Install

    npm i express-die

    Weekly Downloads

    3

    Version

    0.1.0

    License

    MIT

    Last publish

    Collaborators

    • stagas