New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cleverbot-node

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cleverbot-node

Cleverbot client for node.js

  • 0.2.8
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
67
decreased by-24.72%
Maintainers
1
Weekly downloads
 
Created
Source

Cleverbot-node

A node.js client for talking to cleverbot.

Based on the Cleverbot ruby gem Forked from https://github.com/fojas/cleverbot-node

Basic usage:

    var Cleverbot = require('cleverbot-node');
    cleverbot = new Cleverbot;
    Cleverbot.prepare(function(){
      cleverbot.write(cleverMessage, function (response) {
           alert(response.message);
      });
    });

With API Key:

The unofficial cleverbot api requests can optionally contain an API key. Information can be found here: http://www.cleverbot.com/apis

In order to add your key to your bot, you can use the configure method.

    var Cleverbot = require('cleverbot-node');
    cleverbot = new Cleverbot;
    cleverbot.configure({botapi: "IAMKEY"});
    Cleverbot.prepare(function(){
      cleverbot.write(cleverMessage, function (response) {
           alert(response.message);
      });
    });

See 'examples' for more usage.

Keywords

FAQs

Package last updated on 14 Feb 2017

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