Skip to content
This repository was archived by the owner on Jun 20, 2025. It is now read-only.

v0.1.2

Choose a tag to compare

@emmenko emmenko released this 02 Dec 09:27
· 21 commits to master since this release
  • enhance parseQuery to handle multiple params with same key 3d33d72
query = 'where=name%20%3D%20%22Foo%22&staged=true&limit=100&offset=2'
_.parseQuery(query)
# => {where: 'name%20%3D%20%22Foo%22', staged: 'true', limit: '100', offset: '2'}

query = 'foo=bar1&foo=bar2'
_.parseQuery(query)
# => {foo: ['bar1', 'bar2']}