# consolify

> Turn your browser window into a console

Latest version **2.2.1** (published 2021-12-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install consolify
pnpm add consolify
yarn add consolify
bun add consolify
```

## 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 | 2.2.1 |
| Published | 2021-12-17 |
| First published | 2013-04-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.10 |
| Dependencies | 5 |
| Unpacked size | 14 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Maximilian Antoni |
| Maintainers | mantoni |
| Keywords | browser, console, stdout, ansi, color, browserify-plugin |

## Links

- npm: https://www.npmjs.com/package/consolify
- Repository: https://github.com/mantoni/consolify
- Issues: https://github.com/mantoni/consolify/issues
- npm.io page: https://npm.io/package/consolify

## Dependencies (5)

- [brout](https://npm.io/package/brout.md) ^1.1.0
- [ansi_up](https://npm.io/package/ansi_up.md) ^5.1.0
- [through2](https://npm.io/package/through2.md) ^4.0.2
- [source-mapper](https://npm.io/package/source-mapper.md) ^2.0.0
- [browser-reload](https://npm.io/package/browser-reload.md) ^1.1.0

## Alternatives

- [postcss-color-hex-alpha](https://npm.io/package/postcss-color-hex-alpha.md) — 6.4M weekly downloads
- [randomcolor](https://npm.io/package/randomcolor.md) — 348.0K weekly downloads
- [bows](https://npm.io/package/bows.md) — 1.3K weekly downloads
- [ep_prefer_color_scheme](https://npm.io/package/ep_prefer_color_scheme.md) — 260 weekly downloads
- [coc-yank](https://npm.io/package/coc-yank.md) — 61 weekly downloads

## Recent versions

- 2.2.1 (latest) — 2021-12-17
- 2.2.0 — 2016-07-27
- 2.1.0 — 2016-01-19
- 2.0.1 — 2015-06-24
- 2.0.0 — 2015-04-15
- 1.0.0 — 2014-09-12
- 0.8.0 — 2014-07-06
- 0.7.0 — 2014-01-11
- 0.6.0 — 2013-11-21
- 0.5.1 — 2013-11-19
- 0.5.0 — 2013-11-19
- 0.4.1 — 2013-09-25
- 0.4.0 — 2013-06-05
- 0.3.0 — 2013-05-11
- 0.2.0 — 2013-05-01
- … 2 more at https://npm.io/package/consolify/versions

## README

# Consolify

[![Build Status]](https://travis-ci.org/mantoni/consolify)
[![SemVer]](http://semver.org)
[![License]](https://github.com/mantoni/consolify/blob/master/LICENSE)

Generate standalone HTML pages that turn the browser window into a console.

![consolify](http://maxantoni.de/img/consolify2.png)

- Designed for [Browserify][]
- Source maps aware
- ANSI color support using [ANSI up][]
- Beautiful [Base 16][] color scheme

## Install with npm

```
$ npm install consolify
```

## Usage

```
$ browserify --debug --plugin [ consolify {options} ] ./test.js > test.html
```

Options:

```
-b, --bundle   Set the path to the JavaScript bundle to generate. A script tag
               with this path will be generated into the output HTML. If not
               specified, the bundle is inlined.
-r, --reload   Auto reload on change.
-t, --title    Set the document title. Defaults to "Consolify".
-o, --outfile  Write the standalone HTML page to the supplied path as well as
               passing it through to browserify
```

## Mocha support

Consolify works great with [Mocha][] through [Mocaccino][]:

```
$ browserify --plugin mocaccino --plugin consolify ./test/*.js > test.html
```

## Automatic reloads

If `--reload` is given, a HEAD request is made every second to check whether
the file was updated. This requires a web server that sends the `Last-Modified`
header. Learn more in the [browser-reload][] documentation.

## License

MIT

[Build Status]: http://img.shields.io/travis/mantoni/consolify.svg
[SemVer]: http://img.shields.io/:semver-%E2%9C%93-brightgreen.svg
[License]: http://img.shields.io/npm/l/consolify.svg
[ANSI up]: https://github.com/drudru/ansi_up
[Base 16]: https://github.com/chriskempson/base16
[browser-reload]: https://github.com/mantoni/browser-reload
[Mocha]: http://mochajs.org
[Browserify]: http://browserify.org
[Mocaccino]: https://github.com/mantoni/mocaccino.js

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