Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

alexa-bot-api

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

alexa-bot-api

A very lightweight and simple artificial intelligence with multi language support

  • 2.0.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
59
increased by51.28%
Maintainers
1
Weekly downloads
 
Created
Source

ALEXA-BOT-API

Enjoying alexa-bot-api?

Consider Donating To Me: https://www.buymeacoffee.com/nithishpravin

Join My Discord Server: https://discord.gg/m2G7YB3ttf

Developers: Nithish Pravin Discord: Nithish#6593

Credits: Pudochu Discord: Pudochu 'D#0001 Involvement: Helped in the latest fix and suggestions about the package

Whats new in v2.0.0

  • Fixed cleverbot's new API update that lead to package not working
  • Fixed Bugs

Promise Based!

const alexa = require("alexa-bot-api");
const ai = new alexa();

ai.getReply("Hello", "spanish").then((reply) => {
  console.log(reply);
  //Do your stuffs with the reply
});

Specific Language:

getReply(<message>, <language>)

Async / Await

const alexa = require("alexa-bot-api");
const ai = new alexa();

async function main() {
  const reply = await ai.getReply("How are you mate?", "tamil");

  console.log(reply);
  //Do your stuffs with reply
}
main();

Keywords

FAQs

Package last updated on 22 Apr 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc