Lets users return promises from MVC route handlers
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
test
.gitignore
Makefile
README.md
package.json

README.md

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 most results are not applicable. Returned values from transitional routes in exitramp will be ignored, except for pass() and errors.