Package Exports
- voxa
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (voxa) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Voxa
A fsm (state machine) framework for Alexa apps using Node.js
Installation
Install from npm
npm install --save voxaUsage
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 testJS Code linting
npm run lintResources
- Documentation
- Bug Tracker
- Mail List
- IRC (chat.freenode.net, #voxa)