lambda-bot

1.1.2 • Public • Published

lambda-bot

A wrapper to make API.AI webhooks on AWS Lambda.

Here's a simple example:

const LambdaBot = require('lambda-bot');
 
const bot = new LambdaBot();
 
bot.setAction('hello.world', (app) => {
    app.tell('Hello from AWS Lambda!');
});
 
exports.handler = bot.handler();

/lambda-bot/

    Package Sidebar

    Install

    npm i lambda-bot

    Weekly Downloads

    27

    Version

    1.1.2

    License

    MIT

    Last publish

    Collaborators

    • blforce