# botfuel-dialog

> Botfuel Dialog

Latest version **12.4.3** (published 2019-06-25) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install botfuel-dialog
pnpm add botfuel-dialog
yarn add botfuel-dialog
bun add botfuel-dialog
```

Provides the commands `botfuel-run`, `botfuel-clean`.

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 12.4.3 |
| Published | 2019-06-25 |
| First published | 2017-12-14 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=8 |
| Dependencies | 21 |
| Unpacked size | 233.7 KB |
| Known vulnerabilities | 0 (+4 in 4 direct dependencies) |
| Install scripts | no |
| GitHub stars | 99 |
| Author | sysadmin@botfuel.io |
| Maintainers | botfueladmin |

## Links

- npm: https://www.npmjs.com/package/botfuel-dialog
- Repository: https://github.com/Botfuel/botfuel-dialog
- Homepage: https://github.com/Botfuel/botfuel-dialog#readme
- Issues: https://github.com/Botfuel/botfuel-dialog/issues
- npm.io page: https://npm.io/package/botfuel-dialog

## Dependencies (21)

- [fs](https://npm.io/package/fs.md) 0.0.1-security
- [uuid](https://npm.io/package/uuid.md) ^3.2.1
- [chalk](https://npm.io/package/chalk.md) ^2.3.0
- [lodash](https://npm.io/package/lodash.md) ^4.17.4
- [express](https://npm.io/package/express.md) ^4.15.4
- [logtown](https://npm.io/package/logtown.md) ^2.1.1
- [mongodb](https://npm.io/package/mongodb.md) ^3.2.4
- [request](https://npm.io/package/request.md) ^2.82.0
- [winston](https://npm.io/package/winston.md) ^2.4.4
- [fs-extra](https://npm.io/package/fs-extra.md) ^8.0.1
- [node-dir](https://npm.io/package/node-dir.md) ^0.1.17
- [url-join](https://npm.io/package/url-join.md) ^4.0.0
- [valid-url](https://npm.io/package/valid-url.md) ^1.0.9
- [diacritics](https://npm.io/package/diacritics.md) ^1.3.0
- [body-parser](https://npm.io/package/body-parser.md) ^1.18.1
- [convert-hrtime](https://npm.io/package/convert-hrtime.md) ^3.0.0
- [@babel/polyfill](https://npm.io/package/@babel/polyfill.md) ^7.4.4
- [botfuel-nlp-sdk](https://npm.io/package/botfuel-nlp-sdk.md) ^1.1.4
- [logtown-winston](https://npm.io/package/logtown-winston.md) ^2.4.5
- [express-handlebars](https://npm.io/package/express-handlebars.md) ^3.0.0
- [request-promise-native](https://npm.io/package/request-promise-native.md) ^1.0.7

## Recent versions

- 12.4.3 (latest) — 2019-06-25
- 12.4.2 — 2019-06-24
- 12.4.1 — 2019-06-21
- 12.4.0 — 2019-06-14
- 12.3.1 — 2019-06-10
- 12.3.0 — 2019-05-27
- 12.2.6 — 2019-05-23
- 12.2.5 — 2019-05-23
- 12.2.3 — 2019-05-23
- 12.2.2 — 2019-05-14
- 12.2.1 — 2019-05-14
- 12.2.0 — 2019-05-06
- 12.1.1 — 2019-04-25
- 12.1.0 — 2018-12-20
- 12.0.1 — 2018-11-22
- … 96 more at https://npm.io/package/botfuel-dialog/versions

## README

# Botfuel Dialog

[![CircleCI](https://circleci.com/gh/Botfuel/botfuel-dialog.svg?style=svg)](https://circleci.com/gh/Botfuel/botfuel-dialog)

Build highly conversational bots with Botfuel Dialog.

Read [**Getting Started**](https://docs.botfuel.io/platform/tutorials/getting-started) to learn how to run a bot in minutes.
See some [sample bots](https://github.com/topics/botfuel-dialog-samples) written with Botfuel Dialog.

For more explanations about the internals of Botfuel Dialog, see [**Concepts**](https://docs.botfuel.io/platform/concepts).

If you have any issue or question, feel free to [open a ticket](https://github.com/Botfuel/botfuel-dialog/issues).

## Run the tests

### Running all the tests

Run botfuel-dialog and each test packages (integration) tests:

```shell
BOTFUEL_APP_ID=<...> BOTFUEL_APP_KEY=<...> npm test
```

If you are using Windows Powershell, use this command instead:
```shell
$Env:BOTFUEL_APP_ID=<...>; $Env:BOTFUEL_APP_KEY=<...>; npm test
```

### Unit tests

Run only the botfuel-dialog tests:

```shell
npm unit-test
```

### Integration tests

```shell
BOTFUEL_APP_ID=<...> BOTFUEL_APP_KEY=<...> npm test packages/<PACKAGE_NAME>
```

If you are using Windows Powershell, use this command instead:
```shell
$Env:BOTFUEL_APP_ID=<...>; $Env:BOTFUEL_APP_KEY=<...>; npm test packages/<PACKAGE_NAME>
```

Example:

```shell
BOTFUEL_APP_ID=<...> BOTFUEL_APP_KEY=<...> npm test packages/test-qna
```

By default, integration tests are run using fixtures.
To register new fixtures, add `REPLAY=record` to the test command:

```shell
REPLAY=record BOTFUEL_APP_ID=<...> BOTFUEL_APP_KEY=<...> npm test
```

If you are using Windows Powershell, use this command instead:
```shell
$Env:REPLAY=record; $Env:BOTFUEL_APP_ID=<...>; $Env:BOTFUEL_APP_KEY=<...>; npm test
```

This will make real API calls and create new fixtures.

### Publish on NPM

```shell
BOTFUEL_APP_ID=<...> BOTFUEL_APP_KEY=<...> npm release
```

If you are using Windows Powershell, use this command instead:
```shell
$Env:BOTFUEL_APP_ID=<...>; $Env:BOTFUEL_APP_KEY=<...>; npm release
```

Publishing requires credentials because it runs integration tests beforehand.

## License

See the [**License**](LICENSE.md) file.

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