Universal client and server router.
API docs: http://nodeca.github.io/pointer/
npm install pointer
To make client version:
You also need a modern browser or es5-shims to get it working.
let url = ;// override internal parser with node's onelet router = null url;//// fill in routes//// simple caserouter;// with single parameterrouter;// route with optional param and it's default valuerouter