Skip to content

Commit 04d4a54

Browse files
committed
docs: update readme with differences
1 parent 4c5b15a commit 04d4a54

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,14 @@ npm i --save fast-querystring
1212

1313
- Parsed object does not have prototype methods
1414
- Uses `&` separator as default
15-
- Supports only UTF-8
1615
- Supports only input of type `string`
17-
- Key & value with length 0 is omitted by default
18-
- `foo=bar&hey` parses into `{foo: 'bar'}`
1916
- Supports repeating keys in query string
2017
- `foo=bar&foo=baz` parses into `{foo: ['bar', 'baz']}`
2118

19+
### Differences
20+
- Key & value with length 0 is omitted by default
21+
- `foo=bar&hey` parses into `{foo: 'bar'}`, but `node:querystring` returns `{foo: 'bar', hey: ''}`
22+
2223
### Usage
2324

2425
```javascript

0 commit comments

Comments
 (0)