sindresorhus/query-string

Lack of symmetry between parse and stringify

开放

#295 创建于 2020年11月10日

 (3 条评论) (0 个反应) (0 位负责人)JavaScript (459 个派生)batch import
enhancementhelp wanted

仓库指标

星标
 (6,538 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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

贡献者指南