(url: string)
| 11 | } |
| 12 | |
| 13 | export function urlStrip(url: string) { |
| 14 | return url.replace(/[#?].*/, ''); |
| 15 | } |
| 16 | |
| 17 | export function urlParam(url, name) { |
| 18 | const results = new RegExp(`[?&]${name}=([^&#]*)`).exec(url); |
no outgoing calls
no test coverage detected