Skip to content

Commit 66158d0

Browse files
committed
Added parse to readme
1 parent 23397d4 commit 66158d0

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,15 @@ qs.stringify(params);
2121

2222
// Also add options!
2323

24-
const options = { prefix: '?'};
24+
const options = { prefix: '?' };
2525

2626
qs.stringify(params, options);
2727
// '?food=pizza&bar=chocolate'
28+
29+
30+
// Parse query strings into objects
31+
qs.parse('?food=pizza&bar=chocolate');
32+
// { food: pizza, bar: chocolate }
2833
```
2934

3035
## Issues?

0 commit comments

Comments
 (0)