code: function getAllRoutes (router) {
    assert.equal(typeof router, 'function', 'wayfarer.getAllRoutes: router should be an function')
  
    var trie = router._trie
    assert.equal(typeof trie, 'object', 'wayfarer.getAllRoutes: trie should be an object')
  
    var tree = trie.trie
    return transform(tree)
  }
docs: walk a wayfarer trie (obj, fn) -> null