# dag

> Directed acyclic graph

Latest version **0.0.1** (published 2014-04-01) · MIT license · 0 weekly downloads

## Install

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

## 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.1 |
| Published | 2014-04-01 |
| First published | 2014-04-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | Vsevolod Strukchinsky |
| Maintainers | floatdrop |
| Keywords | dag, graph, acyclic |

## Links

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

## Alternatives

- [apollo-link-http-common](https://npm.io/package/apollo-link-http-common.md) — 879.0K weekly downloads
- [react-relay](https://npm.io/package/react-relay.md) — 336.8K weekly downloads
- [relay-test-utils](https://npm.io/package/relay-test-utils.md) — 181.6K weekly downloads
- [@vendure/core](https://npm.io/package/@vendure/core.md) — 14.8K weekly downloads
- [@pnpm/deps.graph-sequencer](https://npm.io/package/@pnpm/deps.graph-sequencer.md) — 13.4K weekly downloads

## Recent versions

- 0.0.1 (latest) — 2014-04-01

## README

# dag

[![NPM Version](https://badge.fury.io/js/dag.png)](https://npmjs.org/package/dag) [![Build Status](https://travis-ci.org/floatdrop/dag.png?branch=master)](https://travis-ci.org/floatdrop/dag) [![Coverage Status](https://coveralls.io/repos/floatdrop/dag/badge.png?branch=master)](https://coveralls.io/r/floatdrop/dag) [![Code Climate](https://codeclimate.com/github/floatdrop/dag.png)](https://codeclimate.com/github/floatdrop/dag)

Helper for validating cyclic dependencies in [express-djinga](https://github.com/floatdrop/express-dinja).

## Usage

```js
var dag = new Dag();

dag.addEdge('A', 'B');
dag.addEdge('B', 'C');
dag.addEdge('C', 'A'); // Boom! Exception!
```

## License

The MIT License (MIT) © [Vsevolod Strukchinsky](floatdrop@gmail.com)

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