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.3.11
  • latest
  • 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.

Basic usage:

In order to add your key to your bot, you can use the configure method. API keys can be obtained from the Cleverbot API Sign Up Page.

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

Changes from 0.2.x

  • API Key is now required
  • Cleverbot.prepare call is no longer needed. It is now a noop for backwards compatibility
  • The output of the bot is now in the output attribute of the response object. It is copied to message for backwards compatibility

Known issues

  • Cleverbot API sometimes returns an empty response attribute

See 'examples' for more usage.

Keywords

FAQs

Package last updated on 26 Jun 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