drink-description

Generate tiki drink descriptions.

Usage no npm install needed!

<script type="module">
  import drinkDescription from 'https://cdn.skypack.dev/drink-description';
</script>

README

drink-description

Generate tiki drink descriptions.

This library uses tracery to generate descriptions of tropical (tiki) cocktails from lists of ingredients. The description grammar was sourced from menus at Smuggler's Cove, Latitude 29, Trader Vic's, and the UNLV Libraries' Menus Collection (which contains several historic Don the Beachcomber Menus).

Usage

Node / CommonJS Loader:

var drinkDescription = require('drink-description').default;

console.log(drinkDescription(['Lime','Jamaican Rum', 'Demerara Syrup', 'Angostura Bitters'])); // Produce a drink description for this basic Planter's Punch

Browser:

Include browser/drink-description.min.js to add drinkDescription() to your project.