This script parses the Query String very simply.
Just add script file in html file.
<html doctype>
<head>
<!-- load css -->
<!-- load script -->
<script src="params.js"></script>
</head>
<body>
</body>
</html>
<script src="https://cdn.jsdelivr.net/gh/raravel/params/params.js"></script>
Can access location.params
JSON Object
// http://localhost:3000/?hello=world
console.log(location.params);
// --> { hello: "world" }
And decoding URI automatically.
// http://localhost:3000/?decode=%27%EC%95%88%EB%85%95%ED%95%98%EC%84%B8%EC%9A%94%27
console.log(location.params);
// --> { decode: "'안녕하세요'" }