Last Updated: February 25, 2016
· leecrossley

froute - Simple Node.js Routing

RESTful API routing

So, you're writing a small RESTful API in Node.js. Do you really want to use something huge and bloated like Express? No, no you don't.

Enter "froute". Simple, powerful and functional routing for node.


Install it

npm install froute --save

Require it

var froute = require("froute");

Use it

var template = "/apple/{type}/size/{size}";

froute.bind(template, function(params) {
    // Handle


froute links