drink-description
v1.1.3
Published
Generate tiki drink descriptions.
Downloads
2
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.