Nanotech Parading Mars

    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();

    Install

    npm i lambda-bot

    DownloadsWeekly Downloads

    1

    Version

    1.1.2

    License

    MIT

    Last publish

    Collaborators

    • blforce