sindresorhus/query-string
View on GitHubLack of symmetry between parse and stringify
Open
#295 opened on Nov 10, 2020
enhancementhelp wanted
Repository metrics
- Stars
- (6,538 stars)
- PR merge metrics
- (No merged PRs in 30d)
Description
stringify(parse('?%20&')) yields only &.
Bit of an edge-case I admit, but do we want to be losing this information?
parse('?%20&') yields {"":null," ":null}.