parse-query
v0.0.13
Published
Parse browser query strings
Downloads
1,793
Readme
parse-query
For da browsa.
#parseQuery(string)
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
.