Parse unlimited your nested querystring in 15 Lines of Code. Both available at Node.js and most morden browsers.
$ npm install querystringify --save
var stringify = require('querystringify');
stringify({
foo: bar
});
stringify({
foo: {
filter: {
name: 10
}
}
});
$ npm test
$ npm run benchmark
Lastest benchmark result
18,431 op/s » node
8,251 op/s » qs
14,926 op/s » qstringify
Suites: 1
Benches: 3
Elapsed: 470.23 ms
MIT @ WeFlex, Inc