Convert a single-level nested object to a querystring compatible representation
$ npm install --save obj-query
var query = require('obj-query')
query({foo: 1, bar: {baz: 2}})
//=> {foo: 1, 'bar[baz]': 2}
Required
Type: object
An object to flatten (one level) into a querystring compatible format.
MIT © Ben Drucker