url-params Get url params Usage click on the jsdelivr badge above to get the lastest version link. var url = "http://wwww.example.com?foo=123&bar" var params = urlparams(url) // { foo: '123', bar: true }