Get the value of a parameter in the URL by inputting the parameter name.
v0.0.1
Parameter Value
// Get the name parameter valueconst url = 'http://example.com?name=value'console.log( getURLParamValue(url, 'name'))=> 'value'
URL
Parameter Name
Get the value of a parameter in the URL by inputting the parameter name.
Since
v0.0.1
Returns
Parameter Value
Example