When extended property is set to true, the URL-encoded data
On the contrary
when extended property is set to false, the URL-encoded data will instead be parsed with the querystring library.
var qs = require("qs")
var result = qs.parse("person[name]=bobby&person[age]=3")
console.log(result) // {person: { name: 'bobby', age: '3'}}
var queryString = require("query-string")
var result = queryString.parse("person[name]=bobby&person[age]=3")
console.log(result) // { 'person[age]': '3', 'person[name]': 'bobby' }
var qs = require("qs")
var result = qs.parse("?a=b")
console.log(result) // { '?a': 'b' }
var queryString = require("query-string")
var result = queryString.parse("?a=b")
console.log(result) // { a: 'b' }