docs: function extractParams(pattern, path) {
      var _compilePattern = compilePattern(pattern);
  
      var matcher = _compilePattern.matcher;
      var paramNames = _compilePattern.paramNames;
  
      var match = path.match(matcher);
  
      if (!match) {
        return null;
      }var params = {};
  
      paramNames.forEach(function (paramName, index) {
        params[paramName] = match[index + 1];
      });
  
      return params;
    }