Skip to content

Commit 622d539

Browse files
committed
docs: add features to readme
1 parent eb74178 commit 622d539

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,18 @@ Fast query-string parser to replace the deprecated `node:querystring` parse func
88
npm i --save fast-querystring
99
```
1010

11+
### Features
12+
13+
- Uses `&` separator as default
14+
- Removes fragment from string
15+
- `foo=bar#hello=world` parses into `{foo: 'bar'}`
16+
- Supports only UTF-8
17+
- Supports only input of type `string`
18+
- Key & value with length 0 is omitted by default
19+
- `foo=bar&hey` parses into `{foo: 'bar'}`
20+
- Supports repeating keys in query string
21+
- `foo=bar&foo=baz` parses into `{foo: ['bar', 'baz']}`
22+
1123
### Usage
1224

1325
```javascript

0 commit comments

Comments
 (0)