1.0.0 • Published 8 years ago

express-alexa-router v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

express-alexa-router

Plug alexa-router into your express application.

Usage

// It's important to make sure that you're using a JSON parser since alexa-router
// needs to access the request's body
app.use('/alexa/webhook', bodyparser.json(), expressAlexaRouter(alexa))

Testing

git clone https://github.com/estate/express-alexa-router && cd express-alexa-router
npm install && npm test