parse-query

Parse browser query strings

parse-query

For da browsa.

Attatched to window as parseQuery.

parseQuery '?hello=world'
# => { hello: 'world' } 

If you don't pass it any options, it will default to window.location.search.