var result = Ingreedy.parse('1 lb. potatoes');
result.amount
//=> '1'
result.unit
//=> 'lb.'
result.ingredient
//=> "potatoes"
iancanderson / ingreedy-js Goto Github PK
View Code? Open in Web Editor NEWnatural language parsing of recipe ingredients