No dependencies emoji cooking 🍻.
Once I've read this tweet from @steveluscher I could not help my self not to write this repo 😈 obviously with his own tests 😂
It's something like:
map([🌽, 🐮, 🐔], cook)
// => [🍿, 🍔, 🍳]
filter([🍿, 🍔, 🍳], isVegetarian)
// => [🍿, 🍳]
reduce([🍿, 🍳], eat)
// => 💩
git clone https://github.com/alvaropinot/cooking-emoji
npm install
npm test
const recipes = {
'🍓': '🍧',
'🍋': '🍨'
};
const cook = recipeBook(recipes);
['🍓', '🍋'].map(cook);
// => ['🍧', '🍨']
implementation details are inside the lib
🗂.