My question is simple. I know query-string npm do the job, but have the special case. My query params look like this:
params={
foo:'bar',
data:[1,2,3],
data2:[4,5,6]
}
i need output something like ?foo=bar&data=1,2,3&data2=4,5,6
not what done by query-sting. query-sting output it as
?foo=bar&data=1 &data=2&data=3..........
&?