You've already forked search-query-parser
preventing TypeError: Cannot read property 'trim' of undefined or TypeError: Cannot read property 'trim' of null
preventing TypeError: Cannot read property 'trim' of undefined or TypeError: Cannot read property 'trim' of null