# @es-git/terminal

> This is part of the [ES-Git](https://github.com/es-git/es-git) project.

Latest version **0.10.0** (published 2020-12-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install @es-git/terminal
pnpm add @es-git/terminal
yarn add @es-git/terminal
bun add @es-git/terminal
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.10.0 |
| Published | 2020-12-02 |
| First published | 2018-01-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 25.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | mariusgundersen |

## Links

- npm: https://www.npmjs.com/package/@es-git/terminal
- npm.io page: https://npm.io/package/@es-git/terminal

## Recent versions

- 0.10.0 (latest) — 2020-12-02
- 0.9.0 — 2018-06-06
- 0.5.1 — 2018-01-21
- 0.4.2 — 2018-01-18
- 0.4.0 — 2018-01-04

## README

# terminal

This is part of the [ES-Git](https://github.com/es-git/es-git) project.

## Install

```bash
npm install --save @es-git/terminal
```

## Usage

```ts
import Teminal from '@es-git/terminal';

//Create a terminal, and log to the console
const terminal = new Terminal(m => console.log(m));

//log normal text
terminal.log('ready');//ready

//carriage return (\r) will reset cursor to start of line
terminal.log('\rset\r');//set

//append newline at end of line
terminal.logLine('go!!!');//go!!!

//append just a newline
terminal.logLine();//go!!!\n

console.log(terminal.content); //go!!!

```

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