Socket
Socket
Sign inDemoInstall

cleverbot

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cleverbot

Wrapper for the official cleverbot API


Version published
Maintainers
1
Created
Source

Cleverbot

In order to use this package, you must obtain a Cleverbot API key here.

Usage

const Cleverbot = require('cleverbot');

let clev = new Cleverbot({
  key: 'YOUR_API_KEY' // Can be obtained at http://cleverbot.com/api
});

clev.query('Just a small town girl')
.then(function (response) {
  console.log(response.output); //=> Livin' in a lonely world!

  clev.query(response.output, {
    cs: response.cs
  })
  .then(function (response2) {
    console.log(response2.output); //=> She took the midnight train going anywhere.
  });

});

Keywords

FAQs

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