generator-alexa-lambda

1.0.3 • Public • Published

A Yeoman generator that allows you to quickly create and deploy an AWS Lambda function for your Alexa skill.

Prerequisites

  1. Create an Alexa Skill in Amazon Developer Services.
  2. Create a Lambda function in Amazon Web Services.

Configure them to work together. Here's how.

Once configured, you'll need to develop the actual AWS Lambda function. That's where this package comes to the rescue!

Installation

Using npm:

npm install -g yo
npm install -g generator-alexa-lambda

Usage

Generate Project

yo alexa-lambda

This will scaffold a project folder that has everything you need to develop and deploy an AWS Lambda function for your Alexa Skill. It works out of the box.

Develop

Develop your Alexa Skill's intent handlers in index.js using the aws-sdk package, which is pre-installed by this generator.

Create and include new JavaScript files and npm packages in your project as you like. The deploy command will include and upload all of them to your AWS Lambda function.

Deploy

npm run deploy

Package Sidebar

Install

npm i generator-alexa-lambda

Weekly Downloads

4

Version

1.0.3

License

MIT

Last publish

Collaborators

  • kevgary