# deptree

> A library to resolve dependency trees

Latest version **1.0.0** (published 2016-12-15) · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2016-12-15 |
| First published | 2012-07-28 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | * |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 7 |
| Author | First and Third |
| Maintainers | jga |
| Keywords | dependency |

## Links

- npm: https://www.npmjs.com/package/deptree
- Repository: https://github.com/firstandthird/deptree
- Issues: https://github.com/firstandthird/deptree/issues
- npm.io page: https://npm.io/package/deptree

## Recent versions

- 1.0.0 (latest) — 2016-12-15
- 0.1.0 — 2012-10-06
- 0.0.1 — 2012-07-28

## README

# DepTree

##Installation

```
npm install deptree
```

##Usage

```js
var DepTree = require('deptree');
var depTree = new DepTree();
depTree.add('a');
depTree.add('b', ['c', 'a']);
depTree.add('d', 'b');

var resolve = depTree.resolve();
//resolve == [ 'a', 'c', 'b', 'd' ]
```

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