Is-Vegan Playground

node v8.11.4
version: 1.0.1
endpointsharetweet
const isVegan = require('is-vegan'); // MISSION PIZZA CO., THIN CRUST PIZZA, COMBINATION isVegan.containsNonVeganIngredients([ 'WATER', 'WHEAT FLOUR', 'PASTEURIZED MILK', 'PORK', 'TOMATOES', 'LIQUID & HYDROGENATED SOYBEAN OIL', 'CONTAINS 2% OR LESS OF THE FOLLOWING: PALM OIL', 'YEAST', 'SALT', 'MECHANICALLY SEPARATED CHICKEN', 'CORN MEAL', 'DEHYDRATED POTATOES', 'SUGAR', 'SPICES & SPICE EXTRACTIVES (INCLUDING PAPRIKA)', 'BEEF', 'CHEESE CULTURES', 'WHEAT GLUTEN', 'CULTURED WHEY', 'WHEY', 'ENZYMES', 'SODIUM ASCORBATE', 'VINEGAR', 'NATURAL & ARTIFICIAL FLAVOR', 'DEXTROSE', 'LACTIC ACID STARTER CULTURE', 'OLEORESIN OF PAPRIKA', 'LECITHIN', 'SODIUM NITRITE', 'CORN STARCH', 'MONOCALCIUM PHOSPHATE', 'SODIUM ACID PYROPHOSPHATE', 'SODIUM BICARBONATE', 'PROCESSING AIDS', 'CITRIC ACID', 'BETA CAROTENE', 'DIMETHYLPOLYSILOXANE', 'SOY LECITHIN', 'TBHQ', 'ONION POWDER', 'GRALIC POWDER', 'BHA', 'BHT', 'SOYBEAN OIL (PROCESSING AID)', 'ASCORBIC ACID', 'FERROUS SULFATE', 'FOLIC ACID', 'NIACIN', 'RIBOFLAVIN', 'THIAMINE MONONITRATE' ]);
// MOSER ROTH, DARK CHOCOLATE isVegan.isVeganIngredientList([ 'COCOA LIQUOR', 'SUGAR', 'COCOA BUTTER', 'ALKALIZED REDUCED FAT COCOA POWDER', 'SOY LECITHIN EMULSIFIER', 'GROUND VANILLA' ]); // returns true
// MISSION PIZZA CO., THIN CRUST PIZZA, COMBINATION isVegan.isVeganIngredientList([ 'WATER', 'WHEAT FLOUR', 'PASTEURIZED MILK', 'PORK', 'TOMATOES', 'LIQUID & HYDROGENATED SOYBEAN OIL', 'CONTAINS 2% OR LESS OF THE FOLLOWING: PALM OIL', 'YEAST', 'SALT', 'MECHANICALLY SEPARATED CHICKEN', 'CORN MEAL', 'DEHYDRATED POTATOES', 'SUGAR', 'SPICES & SPICE EXTRACTIVES (INCLUDING PAPRIKA)', 'BEEF', 'CHEESE CULTURES', 'WHEAT GLUTEN', 'CULTURED WHEY', 'WHEY', 'ENZYMES', 'SODIUM ASCORBATE', 'VINEGAR', 'NATURAL & ARTIFICIAL FLAVOR', 'DEXTROSE', 'LACTIC ACID STARTER CULTURE', 'OLEORESIN OF PAPRIKA', 'LECITHIN', 'SODIUM NITRITE', 'CORN STARCH', 'MONOCALCIUM PHOSPHATE', 'SODIUM ACID PYROPHOSPHATE', 'SODIUM BICARBONATE', 'PROCESSING AIDS', 'CITRIC ACID', 'BETA CAROTENE', 'DIMETHYLPOLYSILOXANE', 'SOY LECITHIN', 'TBHQ', 'ONION POWDER', 'GRALIC POWDER', 'BHA', 'BHT', 'SOYBEAN OIL (PROCESSING AID)', 'ASCORBIC ACID', 'FERROUS SULFATE', 'FOLIC ACID', 'NIACIN', 'RIBOFLAVIN', 'THIAMINE MONONITRATE' ]); // returns false
Loading…

no comments

    sign in to comment