barcart
Everything you need to make drinks from your CLI
run locally
Usage
Make
import { makeByName, makeByRandom } from 'barcart/dist';
const foo = makeByName('manhattan');
const bar = makeByRandom();
Find
import { findByGlass, findByLiquor, findByIngredients } from 'barcart/dist';
const foo = findByGlass('martini');
const bar = findByLiquor('rum');
const baz = findByIngredients(['vodka', 'orange juice']);
Other Utils
import { getRandomInt, normalizeLiquor, findByIngredients } from 'barcart/dist';
const foo = getRandomInt(10);
const bar = normalizeLiquor('whisky');
const baz = capitalizeFirstLetter('foo bar');
const drink = findSimilarDrink('Vesperr')