# cleverbot-node

> Cleverbot client for node.js

Latest version **0.3.11** (published 2017-06-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install cleverbot-node
pnpm add cleverbot-node
yarn add cleverbot-node
bun add cleverbot-node
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.3.11 |
| Published | 2017-06-26 |
| First published | 2012-05-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 62 |
| Author | Anthony U Fojas |
| Maintainers | fojas |
| Keywords | cleverbot |

## Links

- npm: https://www.npmjs.com/package/cleverbot-node
- Repository: https://github.com/fojas/cleverbot-node
- Homepage: https://github.com/fojas/cleverbot-node#readme
- Issues: https://github.com/fojas/cleverbot-node/issues
- npm.io page: https://npm.io/package/cleverbot-node

## Recent versions

- 0.3.11 (latest) — 2017-06-26
- 0.3.10 — 2017-04-27
- 0.3.7 — 2017-04-26
- 0.3.6 — 2017-03-27
- 0.3.5 — 2017-02-27
- 0.3.4 — 2017-02-25
- 0.3.3 — 2017-02-15
- 0.3.2 — 2017-02-14
- 0.3.1 — 2017-02-14
- 0.2.8 — 2017-02-14
- 0.3.0 — 2017-02-14
- 0.2.7 — 2017-02-10
- 0.2.6 — 2017-01-19
- 0.2.5 — 2017-01-03
- 0.2.4 — 2016-11-29
- … 10 more at https://npm.io/package/cleverbot-node/versions

## README

# 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](http://cleverbot.com/api).

```
    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.

---
_Source: https://npm.io/package/cleverbot-node · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
