UNPKG

serverless

Version:

Serverless Framework - Build web, mobile and IoT applications with serverless architectures using AWS Lambda, Azure Functions, Google CloudFunctions & more

10 lines (8 loc) 259 B
import * as Ask from 'ask-sdk'; export const alexa = Ask.SkillBuilders.custom() .addRequestHandlers({ canHandle: handlerInput => true, handle: handlerInput => handlerInput.responseBuilder.speak('Hello world!').getResponse() }) .lambda();