Expressive
A minimalist framework for Alexa Skills Kit apps running on Amazon Lambda (or as a web service), inspired by the syntax of Express.js.
Usage
var expressive = ;var app = ; // app id is optional, but filters requests // install a middleware, they way you'd expectapp; // if you want to process slots for intent requests,// you can do that, tooapp; // instead of get() or post(), use Echo verbs.// start(), launch(), intent(), and end()appstart { // this is called when a new Session has started // You can use it to prepare any resources}; app; app; app; app; // install for use on Lambdaapp;// or, listen like a web serviceapp;
Future Work
- Abstract routes further so sets of routes can be mounted like in Express