location-browser

functions for working with browser location

Usage no npm install needed!

<script type="module">
  import locationBrowser from 'https://cdn.skypack.dev/location-browser';
</script>

README

Location

The set of functions for working with browser location

How to install

    npm install location

Usage

    import location from '/node_modules/location/main.js'    

getSearch()

Return search part of location as object

    const search = location.getSearch();
    console.log(search);