exitramp

0.0.1 • Public • Published

exitramp

Usage:

var exitramp = require('exitramp');

exitramp.decorateExpress(app);

app.getRamp("/", function(req) {
	return exitramp.redirect("/welcome");
});

exitramp is ambivalent with respect to whether callbacks to verb routes return succeeded promises or failed promises. This it to give client code greater flexibility.

Derby

Transitional routes do not act on the page hence do not return any result. Returned values from transitional routes in exitramp will be ignored, except for pass() and errors.

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i exitramp

    Weekly Downloads

    1

    Version

    0.0.1

    License

    none

    Last publish

    Collaborators

    • djechlin