1.1.1 • Published 8 years ago

alexa-utterances-tofile v1.1.1

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago

alexa-utterances-tofile

NPM Version Build Status Coverage Status

A tiny node module to simplify the saving of an utterances object generated by the alexa-utterances module.

Installation

npm install --save-dev alexa-utterances-tofile

Usage

Using the example from alexa-utterances.

var utterances = require('alexa-utterances');
var tofile = require('alexa-utterances-tofile');

var dictionary = { adjustments: [ 'dim', 'brighten' ] };
var slots = { Adjustment: 'LITERAL' };
var template = '{adjustments|Adjustment} the light';

var result = utterances(template, slots, dictionary);

tofile.save('MyIntentName', result);

License

MIT

1.1.1

8 years ago

1.1.0

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago