# console-log

> A console widget for viewing logs in your browser.

Latest version **1.0.0** (published 2013-04-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install console-log
pnpm add console-log
yarn add console-log
bun add console-log
```

## 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 | 1.0.0 |
| Published | 2013-04-06 |
| First published | 2013-04-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 7 |
| Author | Dominic Tarr |
| Maintainers | dominictarr |

## Links

- npm: https://www.npmjs.com/package/console-log
- Repository: https://github.com/dominictarr/console-log
- npm.io page: https://npm.io/package/console-log

## Dependencies (2)

- [observable](https://npm.io/package/observable.md) ~1.4.2
- [hyperscript](https://npm.io/package/hyperscript.md) ~1.1.0

## Recent versions

- 1.0.0 (latest) — 2013-04-06

## README

# console-log

A console widget for viewing logs in your browser.

Now, you can easily see `console.log` in every browser,
even on mobile.

Also, the bottom is sticky - _unlike chrome dev tools_ -
so if you are scrolled to the bottom, output will track new messages,
but if you scroll up, you can focus on old ones.

USE WITH [BROWSERIFY](http://browserify.org)

## Example

``` js
if(DEVELOPMENT) require('console-log')
```

will add a widget in the bottom right corner of your screen.

If you want more control, and want to insert it into the DOM your self,
you can access the core yourself.

``` js
var logger = require('console-log/widget')()
document.body.appendChild(logger.element)

logger.write('hello')
```

## License

MIT

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