# @datastructures-js/graph

> graph & directed graph implementation in javascript

Latest version **5.3.1** (published 2025-08-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install @datastructures-js/graph
pnpm add @datastructures-js/graph
yarn add @datastructures-js/graph
bun add @datastructures-js/graph
```

## Health

**Score 35/100 (D)** — status: maintenance-mode.

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

Warnings: low downloads; no esm support.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 5.3.1 |
| Published | 2025-08-27 |
| First published | 2018-07-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 13 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 45 |
| Author | Eyas Ranjous |
| Maintainers | eyas-ranjous |
| Keywords | graph, graph data structure, graph es6, graph js, directed graph, directed graph es6, directed graph js, dfs traverse, bfs traverse |

## Links

- npm: https://www.npmjs.com/package/@datastructures-js/graph
- Repository: https://github.com/datastructures-js/graph
- Homepage: https://github.com/datastructures-js/graph#readme
- Issues: https://github.com/datastructures-js/graph/issues
- npm.io page: https://npm.io/package/@datastructures-js/graph

## Dependencies (1)

- [@datastructures-js/queue](https://npm.io/package/@datastructures-js/queue.md) ^3.1.3

## 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

- 5.3.1 (latest) — 2025-08-27
- 5.3.0 — 2022-11-07
- 5.2.0 — 2022-11-07
- 5.1.5 — 2022-08-16
- 5.1.4 — 2022-06-06
- 5.1.3 — 2022-02-11
- 5.1.2 — 2022-02-11
- 5.1.1 — 2021-06-20
- 5.1.0 — 2021-06-20
- 5.0.1 — 2021-04-15
- 5.0.0 — 2021-04-14
- 4.0.1 — 2020-04-10
- 4.0.0 — 2020-04-08
- 3.0.2 — 2020-03-06
- 3.0.1 — 2020-01-02
- … 5 more at https://npm.io/package/@datastructures-js/graph/versions

## README

# @datastructures-js/graph

## Docs
https://datastructures-js.info/docs/graph

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