Skip to content

djechlin/exitramp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Lets users return promises from MVC route handlers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published