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 - npm Package Compare versions

Comparing version 2.0.3 to 2.0.4

2

package.json
{
"name": "alexa-bot-api",
"version": "2.0.3",
"version": "2.0.4",
"description": "A very lightweight and simple artificial intelligence with multi language support",

@@ -5,0 +5,0 @@ "main": "src/index.js",

const fetch = require("node-fetch");
module.exports = async (e, t) => {
return fetch(
`https://alexa-bot-api-web-server.vercel.app/api/alexa?stimulus=${decodeURIComponent(e)}?lang=${decodeURIComponent(t)}`
`https://alexa-bot-api-web-server.vercel.app/api/alexa?stimulus=${e}?lang=${t}`
)

@@ -6,0 +6,0 @@ .then((e) => e.json())

const alex = require("./alexa.js");
const ai = new alex();
ai.getReply("hey", "spanish").then(console.log);
ai.getReply("hey%s", "spanish").then(console.log);
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