alexa-utterance-expander
Write your Amazon Alexa utterances file in a simple-to-use DSL, and compile it to the full utternaces. Re-use placeholders, and let the compiler handle the work of creating the many variations.
Install
npm install alexa-utterance-expander
Usage
Require the library;
const UtteranceExpander = ;
Define place holders
console;
generates
LaunchIntent play a gameLaunchIntent play a matchLaunchIntent play a roundLaunchIntent start a gameLaunchIntent start a matchLaunchIntent start a round
Some built-in placeholders
- PLEASE
- YES
- NO
- NEXT
- REPEAT
- STOP
- CANCEL
- STARTOVER
- HELP
From Gulp#
gulp;