You've already forked search-query-parser
Fix typo in README.md.
This commit is contained in:
@@ -39,7 +39,7 @@ var options = {keywords: ['from', 'to', 'subject'], ranges: ['date']}
|
|||||||
var searchQueryObj = searchQuery.parse(query, options);
|
var searchQueryObj = searchQuery.parse(query, options);
|
||||||
|
|
||||||
// searchQueryObj.from is now ['hi@retrace.io', 'foo@gmail.com']
|
// searchQueryObj.from is now ['hi@retrace.io', 'foo@gmail.com']
|
||||||
// searchQueryObj.top is now 'me'
|
// searchQueryObj.to is now 'me'
|
||||||
// searchQueryObj.date is now {from: '1/10/2013', to: '15/04/2014'}
|
// searchQueryObj.date is now {from: '1/10/2013', to: '15/04/2014'}
|
||||||
// searchQueryObj.text is now 'photos'
|
// searchQueryObj.text is now 'photos'
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user