# @uppercod/index-tree

> This script allows to create index relationships

Latest version **1.1.2** (published 2020-08-20) · ISC license · 0 weekly downloads

## Install

```sh
npm install @uppercod/index-tree
pnpm add @uppercod/index-tree
yarn add @uppercod/index-tree
bun add @uppercod/index-tree
```

## Health

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

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

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.2 |
| Published | 2020-08-20 |
| First published | 2020-08-19 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 17 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | UpperCod |
| Maintainers | uppercod |

## Links

- npm: https://www.npmjs.com/package/@uppercod/index-tree
- Repository: https://github.com/UpperCod/index-tree
- Homepage: https://github.com/UpperCod/index-tree#readme
- Issues: https://github.com/UpperCod/index-tree/issues
- npm.io page: https://npm.io/package/@uppercod/index-tree

## Recent versions

- 1.1.2 (latest) — 2020-08-20
- 1.1.1 — 2020-08-19
- 1.1.0 — 2020-08-19
- 1.0.0 — 2020-08-19

## README

# index-tree

This script allows to create index relationships, it is used by EStack to manage the dependency of printing files between documents.

## install

```
npm install @uppercod/index-tree
```

## example

Check test/index.test.js for the api implementation.

```js
import createTree from "@uppercod/index-tree";

const tree = createTree();

tree.add("a");

tree.addChild("a", "b");

tree.add("b", "c");

tree.getParents("c"); // return a
```

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