node package manager
Don’t reinvent the wheel. Reuse code within your team. Create a free org »


express-ajax Build Status

Automatically AJAX requests handling middleware for Express framework


npm install express-ajax


To be able return only your view without it's layout, in case if request came through XmlHttpRequest, just include this middleware in your your Express configuration section. No need to do additional changes in your code.

app.configure(function() {

That's it!