Restify URL Version
Extract version from URL for restify routing
Install
With npm
npm install restify-url-version
Usage
var restify = restifyURLVersion = server = restify server
restifyURLVersion(paramName, [headerName])
paramName
- string or array of param names to extract from querystringheaderName
- restify accepted version header (optional, defaultx-api-version
)