ljharb / qs

A querystring parser with nesting support
BSD 3-Clause "New" or "Revised" License
8.56k stars 728 forks source link

Add format: WHATWG #254

Open ethanresnick opened 6 years ago

ethanresnick commented 6 years ago

The WHATWG Url spec requires the encoding of different characters in query strings than either RFC 3986 or RFC 1738. It might be nice to have an option for qs.stringify that used WHATWG behavior, as another value for the format option.

ljharb commented 6 years ago

That seems like a good idea. Would you be willing to prepare a PR, so I can evaluate the complexity?