# stdio-gui

> Terminal emulator for browsers

Latest version **0.0.0** (published 2017-09-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install stdio-gui
pnpm add stdio-gui
yarn add stdio-gui
bun add stdio-gui
```

## 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.0 |
| Published | 2017-09-26 |
| First published | 2017-09-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Laurent Christophe |
| Maintainers | lachrist |
| Keywords | Terminal, Console, Emulator, Browser |

## Links

- npm: https://www.npmjs.com/package/stdio-gui
- Repository: https://github.com/lachrist/std-gui
- Homepage: https://github.com/lachrist/std-gui#readme
- Issues: https://github.com/lachrist/std-gui/issues
- npm.io page: https://npm.io/package/stdio-gui

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 0.0.0 (latest) — 2017-09-26

## README

# stdio-gui

StdioGUI is a terminal emulator for browsers which works with [node.js streams](https://nodejs.org/api/stream.html) thanks to [browserify](http://browserify.org).

```js
var StdioGui = require("stdio-gui");
var stdin = new Stream.Writable(...);
var stdout = new Stream.Readable(...);
var stderr = new Stream.Readable(...);
var div = document.createElement("div");
var stdiogui = StdioGui(div, {
  encoding: "utf8",
  greeting: "> ",
  onctrl: function (key) {
    if (key === "c") {
      console.log("SIGINT");
    } else if (key === "d") {
      stdin.write(null);
    }
  }
});
var stdio = [stdin, stdout, stderr];
stdiogui(stdio);
```

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