froute-picker
froute-picker is a "picking" and "matching" module used by froute. It picks parameters from url templates matches urls to the templates while assigning parameter values.
Getting started
Using npm
npm install froute-picker
var picker = require("froute-picker");
Example
Picking parameters from a url template and matching a url to the template
var template = "/apple/{type}/size/{size}" picked = picker matchUrl = picker; result = ; not;;;