Grocery-list

Turn your json, csv, md, or strings into grocery lists that you can
then search for.
Example usage
require 'grocery_list'
GroceryList.search_all('spam, eggs, bacon')
Installation
gem install grocery_list
Formats
Strings
Strings are expected to be split by commas.
"spam, egg, bacon, maple syrup"
"spam, egg, \nbacon, maple syrup"
JSON
Just pass in an array of strings and you're golden.
'["spam", "egg", "bacon", "maple syrup"]'
Markdown File
Every list items identified by a *
is considered an item. Every
line which doesn't respect this isn't.
# Grocery List
* Spam
* Eggs
* Bacon
* Maple syrup
Anything else isn't considered an item.
To do
License
MIT