koa-alexa
Koa middleware to handle Amazon Alexa requests to a defined skill.
Installation
Install the koa-alexa package from NPM:
npm install --save koa-alexa
Usage
To use the middleware, add it to a Koa server as follows:
const Koa = ;const KoaBody = ;const KoaAlexa = ;let skill = ; //Instance of an Alexa.Skill const app = ; app; app; app;
The skill
must be an instance of an Skill class from the Amazon ask-sdk-core
package.