node package manager


Use the awesome meta refresh tag to render something and redirect to another page.

Express middleware to render a message and redirect with the meta refresh tag.

Most of the time a 3XX status code with a location header (i.e. res.redirect) works, but sometimes it will be just useful to __rend__er a message before redirecting.

npm install rendirect
//install the middleware 
app.get('/', function (req, res){
   wait: 5, 
   message: 'redirecting to the login', 
   url: '/login'
  this.use(rendirect({view: 'myrendirectpage'}));

MIT - José F. Romaniello - 2013