/urlparam

URLParam v2 is a Javascript Plugin to use URL Parameters as a Javascript Object.

Primary LanguageHTMLMIT LicenseMIT

URLParam v2

URLParam v2 is a Javascript Plugin to use URL Parameters as a Javascript Object.

Download js file → urlparam.js

https://sinseiki.github.io/urlparam (You can see 2 examples on this page)

If you add parameters end of URL, you can use these as a javascript object with the parameters.

Using this JS file, call parameter manually by using 'urlparam' function.


const parameters = urlparam()


example

In this https://sinseiki.github.io/urlparam/index.html?a=1&b=abc

you can use an object of parameters {a:'1', b:'abc'} because of running urlparam()