mediarain/voxa

Name: voxa

Owner: Rain

Description: Voxa is an Alexa framework that uses state machines to create beautiful skills

Created: 2017-03-01 20:53:24.0

Updated: 2018-01-18 19:30:38.0

Pushed: 2018-01-15 17:22:18.0

Homepage: http://voxa.readthedocs.io/

Size: 1352

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Voxa

Build Status Coverage Status Documentation npm Gitter

A fsm (state machine) framework for Alexa apps using Node.js

Summary

Voxa is an Alexa skill framework that provides a way to organize a skill into a state machine. Even the most complex voice user interface (VUI) can be represented through the state machine and it provides the flexibility needed to both be rigid when needed in specific states and flexible to jump around when allowing that also makes sense.

Why Voxa vs other frameworks

Voxa provides a more robust framework for building Alexa skills. It provides a design pattern that wasn?t found in other frameworks. Critical to Voxa was providing a pluggable interface and supporting all of the latest ASK features.

Features
Installation

Install from npm

install --save voxa
Usage
t Voxa = require('voxa');

ontrollers use views to send responses to the user
t views = {
unchIntent: { tell: 'Hello World!' },


nitialize the skill
t skill = new Voxa({ views })

espond to a LaunchIntent
l.onIntent('LaunchIntent', (event) => {
turn { reply: 'LaunchIntent' };


ambda handler
rts.handler = skill.lambda();
Tests

An extensive test suite with more than 90% code coverage

run test
JS Code linting
run lint
Resources

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.