What Is It?
RESTful Routing for Express
xRest provides highly configurable, extensible support for RESTful resources in Express. By supplying just a few lines of code, you get intelligent, re-mappable request routing, support for multiple rendering formats (currently, HTML and JSON out of the box) and more.
Adding xRest To The Mix
Getting started with xRest is easy. It builds on what is already in Express, so you can add it to an existing application without changing existing code. Just declare a resource, implement handler functions for the RESTful HTTP requests you want to support, and mount the resource in your Express application.
Quick Install Guide
The quickest way to get xRest is to install it via npm:
npm install xrest
Alternatively, you can download the source code, check out the source code from GitHub, or fork your own copy if you'd like to make changes or contribute fixes. See the Install section for more details.