# @pnpm/find-workspace-dir

> Finds the root of a pnpm workspace

Latest version **1000.1.5** (published 2026-03-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install @pnpm/find-workspace-dir
pnpm add @pnpm/find-workspace-dir
yarn add @pnpm/find-workspace-dir
bun add @pnpm/find-workspace-dir
```

## Health

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

Positive: has types; esm support; no vulnerabilities; high maintenance score; high quality score; popular repo.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 1000.1.5 |
| Published | 2026-03-24 |
| First published | 2019-12-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=18.12 |
| Dependencies | 2 |
| Unpacked size | 6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 36493 |
| Maintainers | pnpmuser, zkochan |
| Keywords | pnpm, pnpm10 |

## Links

- npm: https://www.npmjs.com/package/@pnpm/find-workspace-dir
- Repository: https://github.com/pnpm/pnpm.git#main
- Homepage: https://github.com/pnpm/pnpm/tree/main/workspace/find-workspace-dir#readme
- Issues: https://github.com/pnpm/pnpm/issues
- Funding: https://opencollective.com/pnpm
- npm.io page: https://npm.io/package/@pnpm/find-workspace-dir

## Dependencies (2)

- [find-up](https://npm.io/package/find-up.md) ^5.0.0
- [@pnpm/error](https://npm.io/package/@pnpm/error.md) 1000.1.0

## Recent versions

- 1000.1.5 (latest) — 2026-03-24
- 0.0.0-20230605-20230605142810 (dev) — 2023-06-05
- 3.0.3 (latest-6) — 2022-06-30
- 1.0.1 (pnpm-temp) — 2020-08-16
- 1000.1.4 — 2026-02-07
- 1000.1.3 — 2025-09-13
- 1000.1.2 — 2025-07-31
- 1000.1.1 — 2025-07-23
- 1000.1.0 — 2025-02-26
- 1000.0.2 — 2025-01-26
- 1000.0.1 — 2024-12-16
- 900.0.1 — 2024-12-06
- 1000.0.0 — 2024-11-29
- 900.0.0 — 2024-11-28
- 7.0.3 — 2024-11-28
- … 18 more at https://npm.io/package/@pnpm/find-workspace-dir/versions

## README

# @pnpm/find-workspace-dir

> Finds the root of a pnpm workspace

[![npm version](https://img.shields.io/npm/v/@pnpm/find-workspace-dir.svg)](https://www.npmjs.com/package/@pnpm/find-workspace-dir)

## Installation

```sh
pnpm add @pnpm/find-workspace-dir
```

## License

MIT

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