get-url-parameter
v1.0.0
Published
a way to get url parameter
Downloads
2
Maintainers
Readme
#how to use
#for example
let getUrlParameter = require('get-url-parameter');
let url = 'https://www.example.com?a=1&b=2&c=3';
getUrlParameter(url, 'a'); //1
getUrlParameter(url, 'b'); //2