# gitbook-plugin-toconsole

> Gitbook plugin - Send js code examples to console

Latest version **0.0.5** (published 2016-01-15) · Apache 2 license · 0 weekly downloads

## Install

```sh
npm install gitbook-plugin-toconsole
pnpm add gitbook-plugin-toconsole
yarn add gitbook-plugin-toconsole
bun add gitbook-plugin-toconsole
```

## 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.0.5 |
| Published | 2016-01-15 |
| First published | 2014-04-26 |
| Weekly downloads | 0 |
| License | Apache 2 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 7 |
| Author | Eric Priou |
| Maintainers | erixtekila |
| Keywords | Gitbook, plugin |

## Links

- npm: https://www.npmjs.com/package/gitbook-plugin-toconsole
- Repository: https://github.com/erixtekila/gitbook-plugin-toconsole
- Issues: https://github.com/erixtekila/gitbook-plugin-toconsole/issues
- npm.io page: https://npm.io/package/gitbook-plugin-toconsole

## Dependencies (1)

- [cheerio](https://npm.io/package/cheerio.md) ^0.15.0

## Recent versions

- 0.0.5 (latest) — 2016-01-15
- 0.0.4 — 2014-04-29
- 0.0.3 — 2014-04-29
- 0.0.2 — 2014-04-29
- 0.0.1 — 2014-04-26

## README

GitBook plugin : Send javascript output to console
==============

Gitbook produces code examples.
This plugin adds a button next to them.
Then, one can send the result to the browser inspector console.

You can use install it via NPM:

```bash
$ npm install gitbook-plugin-toconsole
```

And use it for your book with:

```bash
$ gitbook build ./ --plugins=toconsole
```

You can set the button message with the plugins configuration (command line option: `--pluginsConfig`) :

```javascript
{
    "toconsole": {
        "buttontext": "Evaluate in console"
    }
}
```

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