sindresorhus/query-string

Lack of symmetry between parse and stringify

Open

#295 opened on 2020年11月10日

GitHub で見る
 (3 comments) (0 reactions) (0 assignees)JavaScript (6,538 stars) (459 forks)batch import
enhancementhelp wanted

説明

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}.

コントリビューターガイド