express-alexa-router

A plugin for handling alexa-router through express

Usage no npm install needed!

<script type="module">
  import expressAlexaRouter from 'https://cdn.skypack.dev/express-alexa-router';
</script>

README

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