Skip to content
Voxa is a framework that uses state machines to create elegant cross platform conversational experiences.
Branch: master
Clone or download
armonge Version 3 (#191)
* Version 3

* Updating the description
Latest commit 9050119 Jan 9, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs
hello-world
src
test Fixed facebook userId issue (#189) Jan 4, 2019
.codeclimate.yml Code Smells Fixes (#155) Sep 21, 2018
.editorconfig
.gitignore
.ignore
.npmignore
.nvmrc
.nycrc Typescript (#88) Jan 11, 2018
.travis.yml
LICENSE.md
Makefile
README.md
_config.yml
package.json
run-ci.sh
tsconfig.json
tslint.json Code Smells Fixes (#155) Sep 21, 2018
yarn.lock

README.md

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

  • MVC Pattern
  • State or Intent handling (State Machine)
  • Easy integration with several Analytics providers
  • Easy to modify response file (the view)
  • Compatibility with all SSML features
  • Works with companion app cards
  • Supports i18n in the responses
  • Clean code structure with a unit testing framework
  • Easy error handling
  • Account linking support
  • Several Plugins

Installation

Install from npm

npm install --save voxa

Usage

const Voxa = require('voxa');

// Controllers use views to send responses to the user
const views = {
  LaunchIntent: { tell: 'Hello World!' },
}

// initialize the skill
const skill = new Voxa({ views })

// respond to a LaunchIntent
skill.onIntent('LaunchIntent', (event) => {
  return { reply: 'LaunchIntent' };
});

// lambda handler
exports.handler = skill.lambda();

Tests

An extensive test suite with more than 90% code coverage

npm run test

JS Code linting

npm run lint

Resources

You can’t perform that action at this time.