architeck-find-get-variable

When passed in a string of url search parameters it will return the value of the key passed in as the second parameter.

Usage no npm install needed!

<script type="module">
  import architeckFindGetVariable from 'https://cdn.skypack.dev/architeck-find-get-variable';
</script>

README

Takes three parameters

1st param

STRING: Required: this should be window.location.href

2nd param

BOOLEAN: if the function should strip all html from the string.