# clgl

> A graphic lib for command line.

Latest version **0.2.0** (published 2020-04-30) · MIT license · 0 weekly downloads

## Install

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

## Health

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

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

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.0 |
| Published | 2020-04-30 |
| First published | 2020-04-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 19.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | 3h |
| Maintainers | 3h |
| Keywords | cli, gl, command, line, graphic, lib, 3h |

## Links

- npm: https://www.npmjs.com/package/clgl
- Repository: https://github.com/huang2002/clgl
- Homepage: https://github.com/huang2002/clgl#readme
- Issues: https://github.com/huang2002/clgl/issues
- npm.io page: https://npm.io/package/clgl

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 0.2.0 (latest) — 2020-04-30
- 0.1.2 — 2020-04-26
- 0.1.1 — 2020-04-25
- 0.1.0 — 2020-04-24

## README

# clgl

> A graphic lib for command line.

## Introduction

This is a graphic lib for command line, which enables you to shade graphics in console. Technically, the graphics are output to NodeJS streams, so you can also direct them to other places.

## Example

```js
const { Root, Node, Shaders } = require('clgl');

const root = new Root();

const box = new Node({
    left: 1,
    top:1,
    width: 10,
    height: 3,
    shader: Shaders.Pure('#'),
});
root.childNodes.push(box);

root.tick();
```

## Links

- [Documentation](https://github.com/huang2002/clgl/wiki)
- [License](./LICENSE)

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