index.js
function pathname (routename, isElectron) {
  if (isElectron) routename = routename.replace(stripElectron, '')
  else routename = routename.replace(prefix, '')
  return decodeURI(routename.replace(suffix, '').replace(normalize, '/'))
}
function pathname (routename, isElectron) {
  if (isElectron) routename = routename.replace(stripElectron, '')
  else routename = routename.replace(prefix, '')
  return decodeURI(routename.replace(suffix, '').replace(normalize, '/'))
}
function pathname ( routename , isElectron ) { if ( isElectron ) routename = routename . replace ( stripElectron , '' ) else routename = routename . replace ( prefix , '' ) return decodeURI ( routename . replace ( suffix , '' ) . replace ( normalize , '/' ) ) }
replace everything in a route but the pathname and hash
replace everything in a route but the pathname and hash