# terminal-tree

> Make a tree.

Latest version **0.0.3** (published 2015-04-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install terminal-tree
pnpm add terminal-tree
yarn add terminal-tree
bun add terminal-tree
```

Provides the command `terminal-tree`.

## 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.3 |
| Published | 2015-04-11 |
| First published | 2015-04-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | @zaftzaft |
| Maintainers | zaftzaft |
| Keywords | tree, cli, terminal |

## Links

- npm: https://www.npmjs.com/package/terminal-tree
- Repository: https://github.com/zaftzaft/terminal-tree
- Issues: https://github.com/zaftzaft/terminal-tree/issues
- npm.io page: https://npm.io/package/terminal-tree

## Dependencies (2)

- [chalk](https://npm.io/package/chalk.md) ^1.0.0
- [commander](https://npm.io/package/commander.md) ^2.7.1

## 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.0.3 (latest) — 2015-04-11

## README

# terminal-tree

![screenshot](https://raw.githubusercontent.com/zaftzaft/terminal-tree/master/img/screenshot.png)

## Installation
```bash
$ npm i -g terminal-tree
```

## CLI
```bash
$ terminal-tree example.json
```

Output Markdown from 'tree' command.
```bash
$ tree -J | terminal-tree -Tm
```


## for Node.js
```js
var tree = require("terminal-tree");

var data = {
  test: [1, 2, 3, 4],
  foo: "bar"
};

console.log(tree(data, {
  symbol: true,
  highlight: true,
  padding: 1
}));
```

## API


## License
MIT

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