// index.html?keywords=test
qs(); // { name: 'keywords', values: [ 'test' ] }
But wait, why store the value in an array?
Because of
// index.html?category=4&category=5&category=6
qs(); // { name: 'category', values: [ '4', '5', '6' ] }
which is a perfectly valid use of query strings.
Also
qs('category'); // [ '4', '5', '6' ]