simple search parser
Parses expressions like:
- "Cars or Boats"
- "Donald and not Trump"
- "Snakes and Planes"
- "Cars or Boats and not Snakes"
And returns a function that matches strings on the given expression.
install
npm install simple-search-parser
usage
const parse = ; const match = ; ; // ==> true