# console-widget

> An interactive console control widget for your webpage

Latest version **1.0.1** (published 2016-05-02) · MIT license · 0 weekly downloads

## Install

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

## 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.1 |
| Published | 2016-05-02 |
| First published | 2014-01-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Maintainers | deathcap |
| Keywords | console, widget, html |

## Links

- npm: https://www.npmjs.com/package/console-widget
- Repository: https://github.com/deathcap/console-widget
- Homepage: https://github.com/deathcap/console-widget#readme
- Issues: https://github.com/deathcap/console-widget/issues
- npm.io page: https://npm.io/package/console-widget

## Dependencies (1)

- [vkey](https://npm.io/package/vkey.md) 0.0.3

## Alternatives

- [@tsparticles/shape-image](https://npm.io/package/@tsparticles/shape-image.md) — 303.7K weekly downloads
- [@tsparticles/shape-line](https://npm.io/package/@tsparticles/shape-line.md) — 233.7K weekly downloads
- [stringify-attributes](https://npm.io/package/stringify-attributes.md) — 58.6K weekly downloads
- [mobile-drag-drop](https://npm.io/package/mobile-drag-drop.md) — 46.3K weekly downloads
- [@comunica/actor-rdf-parse-html](https://npm.io/package/@comunica/actor-rdf-parse-html.md) — 29.2K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2016-05-02
- 1.0.0 — 2016-04-01
- 0.2.2 — 2016-02-07
- 0.2.1 — 2014-06-10
- 0.2.0 — 2014-05-04
- 0.1.0 — 2014-01-25

## README

# console-widget

An interactive console control widget for your webpage

![screenshot](http://i.imgur.com/9hKpjRQ.png "Screenshot")

Interactive demo at [http://deathcap.github.io/console-widget](http://deathcap.github.io/console-widget) (or run `npm start`)

## Usage

    var consoleWidget = require('console-widget')();

    consoleWidget.open();

You can write text to the console output using:

    consoleWidget.log('hello');
    // or add arbitrary DOM nodes using logNode() instead

and handle user input by listening to the 'input' event:

    consoleWidget.on('input', function(text) {
        consoleWidget.log('You wrote: ' + text);
    });


## License

MIT

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