# @motss-changesets/get-dependents-graph

> Get the graph of dependents in a monorepo

Latest version **1.3.8** (published 2022-11-06) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.3.8 |
| Published | 2022-11-06 |
| First published | 2022-11-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 5 |
| Unpacked size | 29.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | motss |

## Links

- npm: https://www.npmjs.com/package/@motss-changesets/get-dependents-graph
- Repository: https://github.com/changesets/changesets.git#main
- Homepage: https://github.com/changesets/changesets/tree/main#readme
- Issues: https://github.com/changesets/changesets/issues
- npm.io page: https://npm.io/package/@motss-changesets/get-dependents-graph

## Dependencies (5)

- [chalk](https://npm.io/package/chalk.md) ^2.1.0
- [semver](https://npm.io/package/semver.md) ^5.4.1
- [fs-extra](https://npm.io/package/fs-extra.md) ^7.0.1
- [@manypkg/get-packages](https://npm.io/package/@manypkg/get-packages.md) ^1.1.3
- [@motss-changesets/types](https://npm.io/package/@motss-changesets/types.md) ^5.2.4

## Recent versions

- 1.3.8 (latest) — 2022-11-06
- 1.3.7 — 2022-11-06
- 1.3.6 — 2022-11-06
- 1.3.5 — 2022-11-06

## README

# Get Dependents Graph

[![View changelog](https://img.shields.io/badge/changelogs.xyz-Explore%20Changelog-brightgreen)](https://changelogs.xyz/@changesets/get-dependents-graph)

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";

let { graph, valid } = getDependentsGraph(await getPackages(cwd));
```

Mostly published for use in [changesets](https://www.npmjs.com/package/@changesets/cli)

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