# @changesets/get-dependents-graph

> Get the graph of dependents in a monorepo

Latest version **3.0.0** (published 2026-08-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install @changesets/get-dependents-graph
pnpm add @changesets/get-dependents-graph
yarn add @changesets/get-dependents-graph
bun add @changesets/get-dependents-graph
```

## Health

**Score 70/100 (B)** — status: active.

Positive: esm support; no vulnerabilities; has provenance; recently updated; high maintenance score; popular repo.

Warnings: low downloads; no types.

## Facts

| | |
|---|---|
| Version | 3.0.0 |
| Published | 2026-08-11 |
| First published | 2020-03-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM |
| Node | ^22.11 \|\| ^24 \|\| >=26 |
| Dependencies | 2 |
| Unpacked size | 7.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 12388 |
| Maintainers | emmatown, andarist |

## Links

- npm: https://www.npmjs.com/package/@changesets/get-dependents-graph
- Repository: https://github.com/changesets/changesets
- npm.io page: https://npm.io/package/@changesets/get-dependents-graph

## Dependencies (2)

- [semver](https://npm.io/package/semver.md) ^7.8.1
- [@changesets/types](https://npm.io/package/@changesets/types.md) ^7.0.0

## Recent versions

- 3.0.0 (latest) — 2026-08-11
- 3.0.0-next.9 (next) — 2026-08-03
- 1.2.5-temp.0 (temp) — 2021-12-07
- 3.0.0-next.8 — 2026-07-25
- 3.0.0-next.7 — 2026-07-17
- 3.0.0-next.6 — 2026-07-01
- 3.0.0-next.5 — 2026-05-28
- 3.0.0-next.4 — 2026-05-13
- 3.0.0-next.3 — 2026-05-07
- 3.0.0-next.2 — 2026-05-04
- 2.1.4 — 2026-04-17
- 3.0.0-next.1 — 2025-10-30
- 3.0.0-next.0 — 2025-04-21
- 2.1.3 — 2025-02-17
- 2.1.2 — 2024-09-04
- … 21 more at https://npm.io/package/@changesets/get-dependents-graph/versions

## README

# Get Dependents Graph

[![Open on npmx.dev](https://npmx.dev/api/registry/badge/version/@changesets/get-dependents-graph?name=true)](https://npmx.dev/package/@changesets/get-dependents-graph)
[![View changelog](https://npmx.dev/api/registry/badge/version/@changesets/cli?color=229fe4&value=View+changelog&label=+)](./CHANGELOG.md)

Small helper utility extracted from bolt to get a graph of relationships between packages.

```ts
import { getDependentsGraph } from "@changesets/get-dependents-graph";
import { getPackages } from "@manypkg/get-packages";

const packages = await getPackages(cwd);

let { graph, valid } = getDependentsGraph(packages);
```

Mostly published for use in [changesets](https://npmx.dev/@changesets/cli)

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